* Source/NSScanner.m: Define _GNU_SOURCE before including

other headers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19915 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2004-08-24 16:18:48 +00:00
parent 5e309b7ebe
commit 5d6f918817
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2004-08-24 David Ayers <d.ayers@inode.at>
* Source/NSScanner.m: Define _GNU_SOURCE before including other
headers.
2004-08-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Always write date using GMT timezone for

View file

@ -26,6 +26,11 @@
$Date$ $Revision$
*/
/* We need to define _GNU_SOURCE on systems (SuSE) to get LONG_LONG_MAX. */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include "config.h"
#include "GNUstepBase/Unicode.h"
#include "Foundation/NSScanner.h"
@ -33,10 +38,6 @@
#include "Foundation/NSObjCRuntime.h"
#include "Foundation/NSUserDefaults.h"
/* We need to define _GNU_SOURCE on systems (SuSE) to get LONG_LONG_MAX. */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <float.h>
#include <limits.h>
#include <math.h>