mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
6277a0a352
commit
466d55bd8d
8 changed files with 32 additions and 20 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue