I've been writing a binding to posix from a different (i.e., not C) language, and I realized there are many macros that activate or deactivate a lot of C99 and Posix. Is there a list of such macros, so that I can use it to support properly all extensions or subsets of Posix and C standard library?
> Could you give an example of such a macro, and how you > would use it? As Ian said in other message, glibc lists a lot of macros in 'features.h', like: __USE_ISOC99 __USE_ISOC95 __USE_POSIX __USE_POSIX2 __USE_POSIX199309 __USE_POSIX199506 __USE_XOPEN I could not find which of those are standard and can be found in compliant libraries, and which are specific to gnu. Also, see this page: http://www.opengroup.org/onlinepubs/000095399/help/codes.html They define subsets of Posix that affect library content, but I could not find macros I could check to see if one of such subsets is available or not. Thanks, Maurício