fix for defines of _XOPEN_SOURCE

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30680 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2010-06-11 19:07:26 +00:00
parent dcf5647de3
commit e574fe480c
4 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,8 @@
2010-06-10 Riccardo Mottola
2010-06-11 Riccardo Mottola
* Source/NSZone.m
* Source/GSPThread.h
* Source/NSLock.m
* Source/ObjectiveC2/sync.m: Attempt of fixing test for defining
_XOPEN_SOURCE again

View file

@ -30,7 +30,7 @@
* For safety we enable this only on linux and hurd where glibc is likely.
* We include features.h explicitely to avoid weird problems.
*/
#if defined __linux__ || defined __GNU__
#if defined __linux__ || defined __GNU__ || defined __GLIBC__
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 600
# endif

View file

@ -26,7 +26,7 @@
// This file uses some SUS'98 extensions, so we need to tell glibc not to hide
// them. Other platforms have more sensible libcs, which just default to being
// standards-compliant.
#if defined __linux__ || defined __GNU__
#if defined __linux__ || defined __GNU__ || defined __GLIBC__
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 600
# endif

View file

@ -89,7 +89,7 @@
/* we define _XOPEN_SOURCE to get all the necessary pthread attributes
* and we need to define it here and not just in GSPThread.h because
* GLIBC is so picky with defines */
#if defined __linux__ || defined __GNU__
#if defined __linux__ || defined __GNU__ || defined __GLIBC__
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 600
# endif