Messages in this thread | | | Subject | Re: BITS_PER_LONG | From | (Aaron M. Ucko) | Date | 28 Dec 1997 17:02:59 -0600 |
| |
Hans Lermen <lermen@elserv.ffm.fgan.de> writes:
> On Sun, 28 Dec 1997, Martin Mares wrote: > > > +#define BITS_PER_LONG 32 > > #else > > +#define BITS_PER_LONG 64 > > #endif > > what about a global, unconditional > > #define BITS_PER_LONG (sizeof(long)<<3)
That won't work; we want to be able to test BITS_PER_LONG with preprocessor directives, and the preprocessor doesn't (and shouldn't) know the size of anything.
-- Aaron M. Ucko <amu@mit.edu> (finger amu@monk.mit.edu) [Stark raving sane]
| |