Extend David's hack to all known non-glibc platforms

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35123 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2012-04-29 17:15:51 +00:00
parent 6414d0ebeb
commit 956e6c7958
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-04-29 Riccardo Mottola <rm@gnu.org>
* Source/common.h:
Extend David's hack to all known non-glibc platforms
2012-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArchiver.m:

View file

@ -17,7 +17,7 @@
*/
/* This hack work around for glibc breaks FreeBSD and probably other platforms.
*/
#ifndef __FreeBSD__
#if defined(__linux__) &&!defined(__GNU__)
#if defined(_XOPEN_SOURCE)
#if _XOPEN_SOURCE < 600
#undef _XOPEN_SOURCE