experimental change to try to avoid non-standard extensions

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34852 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2012-03-01 09:14:08 +00:00
parent 50decd4014
commit bb610b0e30
8 changed files with 32 additions and 20 deletions

View file

@ -23,24 +23,18 @@
*/
/* Carefully turn off _GNU_SOURCE and on _XOPEN_SOURCE for string.h so we
/* Carefully turn on _XOPEN_SOURCE for string.h so we
* get the POSIX strerror_r
*/
#ifdef _GNU_SOURCE
#undef _GNU_SOURCE
#define _GNU_SOURCE 0
#endif
#ifdef _XOPEN_SOURCE
#undef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
#endif
#include <string.h>
#undef _GNU_SOURCE
#undef _XOPEN_SOURCE
#import "config.h"
#import "common.h"
#include <stdio.h>
#include <string.h>
#import "Foundation/NSDictionary.h"
#import "Foundation/NSError.h"