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:
#if __BSD__ EXTERN_C char *malloc(unsigned size); #else /* !__BSD__ */ #include <malloc.h> #endif /* __BSD__ */ However __BSD__ is not defined. My question is: What directive is defined to let me know I'm in BSD and/or MacOSX? Thanks, Jeremias ------------------------------------------------------- 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
