[Python-Dev] Problems with definition of _POSIX_C_SOURCE

Tim Peters tim.peters at gmail.com
Thu Mar 17 00:07:53 CET 2005

[Jack Jansen]
> On a platform I won't mention here I'm running into problems compiling
> Python, because of it defining _POSIX_C_SOURCE.
> Does anyone know what the real meaning of this define is?

LOL.  Here's the Official Story:


Look near the top, under "The _POSIX_C_SOURCE Feature Test Macro". 
This will tell you:

    When an application includes a header described by IEEE Std 1003.1-2001,
    and when this feature test macro is defined to have the value 200112L:

        yadda yadda yadda yadda yadda
        yadda yadda yadda

Then again, every journey of a million miles begins with 200112L small steps ...

More information about the Python-Dev mailing list