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    [W:0.051 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site