Fix the build with the pure non-fragile ABI by declaring macros before using them.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33724 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
theraven 2011-08-13 15:28:22 +00:00
parent b0f96ed9f3
commit 157da23407
5 changed files with 39 additions and 27 deletions

View file

@ -25,8 +25,16 @@
$Date$ $Revision$
*/
#import "common.h"
#define GS_NSDateFormatter_IVARS \
NSUInteger _behavior; \
NSLocale *_locale; \
NSTimeZone *_tz; \
NSDateFormatterStyle _timeStyle; \
NSDateFormatterStyle _dateStyle; \
void *_formatter
#define EXPOSE_NSDateFormatter_IVARS 1
#import "common.h"
#import "Foundation/NSArray.h"
#import "Foundation/NSDate.h"
#import "Foundation/NSDictionary.h"
@ -82,13 +90,6 @@ NSToUDateFormatStyle (NSDateFormatterStyle style)
return -1;
}
#define GS_NSDateFormatter_IVARS \
NSUInteger _behavior; \
NSLocale *_locale; \
NSTimeZone *_tz; \
NSDateFormatterStyle _timeStyle; \
NSDateFormatterStyle _dateStyle; \
void *_formatter
#define GSInternal NSDateFormatterInternal
#include "GSInternal.h"