lkml.org 
[lkml]   [1997]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: BITS_PER_LONG

On Sun, 28 Dec 1997, Hans Lermen wrote:

> 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)

'sizeof(long)' is not understandable by the C preprocessor.


Gerard.



\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site