On Tuesday, December 3, 2002, at 10:22  AM, Jeremias A. Sauceda wrote:

Hello,

I am trying to compile a very portable unix application. To compile under
BSD systems it uses the __BSD__ directive. For example, since BSD does not
have malloc.h we have:

This is wrong, malloc.h is obsolete.  malloc is in stdlib.h now.


My question is: What directive is defined to let me know I'm in BSD and/or
MacOSX?

__APPLE__

-Ben



-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Reply via email to