mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
dcf5647de3
commit
e574fe480c
4 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue