[Python-Dev] Make _GNU_SOURCE default for gcc ?!
Fred L. Drake, Jr.
fdrake@beopen.com
Tue, 4 Jul 2000 14:25:28 -0400 (EDT)
M.-A. Lemburg writes:
> /* Enable compiler features including SUSv2 compatibility; switching
> on C lib defines doesn't work here, because the symbols haven't
> necessarily been defined yet. */
> #define _GNU_SOURCE 1
> #define _XOPEN_SOURCE 500
...
> Should I check this in ?
This works for me; I presume you putting this before all other
#includes?
-Fred
--
Fred L. Drake, Jr. <fdrake at beopen.com>
BeOpen PythonLabs Team Member