Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

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

Report this thread to moderator Post Follow-up to this message
Old Post
Fred Ma
10-21-04 08:58 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Unix Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:58 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.