From ba59f28d5d8b796fafe198063ef71b1c9cea4eea Mon Sep 17 00:00:00 2001 From: ayers Date: Sun, 30 Apr 2006 08:20:35 +0000 Subject: [PATCH] * Source/NSString: Define _GNU_SOURCE to make protoype of fwprintf visible. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22838 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/NSString.m | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 432526f64..8282afa1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-30 David Ayers + + * Source/NSString: Define _GNU_SOURCE to make protoype of fwprintf + visible. + 2006-04-28 Richard Frith-Macdonald * Source/NSKeyedUnarchiver.m: Fix decoding of NSNull objects. diff --git a/Source/NSString.m b/Source/NSString.m index 430f8dc19..87fd740f8 100644 --- a/Source/NSString.m +++ b/Source/NSString.m @@ -43,6 +43,11 @@ Limited choice of default encodings. */ +/* Needed for visiblity of fwprintf prototype. */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif + #include "config.h" #include #include