For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > October 2004 > Please ignore: "defined(BLAH)" in makefile?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Please ignore: "defined(BLAH)" in makefile?
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?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com