mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue