Code Comments
Programming Forum and web based access to our favorite programming groups.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 > [url]http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWdev/SOL64TRANS/p16.html:[/ url] > > #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?
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.