| Fred Ma 2004-10-21, 3:58 am |
| I was comatose when I posted the following. I need to do more
reading of C. Please ignore. I wouldn't post this followup
except that some news servers will ignore my cancellation
request. Sorry.
Fred
Fred Ma wrote:
>
> I have a question about the defined function in a makefile.
> It arises from a solaris-specific situation, but I'm not sure
> if the question itself is solaris specific. I was trying to
> figure out why C's "long" has the same value limits as "int".
> I ran in to this solaris-specific example at
> http://docsun.cites.uiuc.edu/sun_do...TRANS/p16.html:
>
> #if defined(_LP64)
> typedef ulong_t size_t; /* size of something in bytes */
> #else
> typedef uint_t size_t; /* (historical version) */
> #endif
>
> The key thing here being defined(_LP64). I can't find the defined
> function in the make man pages for solaris, nor the gnu man pages
> for make. Where should I be looking for it?
|