mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
b0f96ed9f3
commit
157da23407
5 changed files with 39 additions and 27 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue