mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 18:21:04 +00:00
fixup for error logging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30913 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
632f343dc3
commit
f9c2cbbd92
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2010-07-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/Addictions/NSError+GNUstepBase.m:
|
||||||
|
Declare _XOPEN_SOURCE so that glibc gives us the correct version of
|
||||||
|
the strerror_r function.
|
||||||
|
|
||||||
2010-01-07 Niels Grewe <niels.grewe@halbordnung.de>
|
2010-01-07 Niels Grewe <niels.grewe@halbordnung.de>
|
||||||
|
|
||||||
* Source/GNUmakefile
|
* Source/GNUmakefile
|
||||||
|
|
|
@ -22,6 +22,15 @@
|
||||||
Boston, MA 02111 USA.
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* We must define _XOPEN_SOURCE to 600 in order to get the standard
|
||||||
|
* version of strerror_r when using glibc. Otherwise glibc will give
|
||||||
|
* us a version which may not populate the buffer.
|
||||||
|
*/
|
||||||
|
#define _XOPEN_SOURCE 600
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
#import "common.h"
|
#import "common.h"
|
||||||
#import "Foundation/NSDictionary.h"
|
#import "Foundation/NSDictionary.h"
|
||||||
#import "Foundation/NSError.h"
|
#import "Foundation/NSError.h"
|
||||||
|
|
Loading…
Reference in a new issue