Re: [patch] 10/n: trans-mem: compiler tests (1 of 3)

2011-11-03 Thread Aldy Hernandez
On 11/03/11 15:22, Joseph S. Myers wrote: On Thu, 3 Nov 2011, Aldy Hernandez wrote: +#if (__SIZEOF_LONG_LONG__ == __SIZEOF_POINTER__) +typedef unsigned long long ptrcast; +#elif (__SIZEOF_LONG__ == __SIZEOF_POINTER__) +typedef unsigned long ptrcast; +#elif (__SIZEOF_INT__ == __SIZEOF_POINTER__)

Re: [patch] 10/n: trans-mem: compiler tests (1 of 3)

2011-11-03 Thread Joseph S. Myers
On Thu, 3 Nov 2011, Aldy Hernandez wrote: > +#if (__SIZEOF_LONG_LONG__ == __SIZEOF_POINTER__) > +typedef unsigned long long ptrcast; > +#elif (__SIZEOF_LONG__ == __SIZEOF_POINTER__) > +typedef unsigned long ptrcast; > +#elif (__SIZEOF_INT__ == __SIZEOF_POINTER__) > +typedef unsigned int ptrcast; >