mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
header version macro fix pointed out by lubos dolezel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36441 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fecb266355
commit
2424219d99
2 changed files with 4 additions and 5 deletions
|
@ -64,13 +64,13 @@ GS_EXPORT NSString * const NSSystemTimeZoneDidChangeNotification;
|
|||
+ (NSArray*) timeZoneArray;
|
||||
- (NSArray*) timeZoneDetailArray;
|
||||
|
||||
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
|
||||
#if OS_API_VERSION(GS_API_NONE, GS_API_LATEST)
|
||||
/* Returns an dictionary that maps abbreviations to the array
|
||||
containing all the time zone names that use the abbreviation. */
|
||||
+ (NSDictionary*) abbreviationMap;
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_NONE)
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
+ (void) resetSystemTimeZone;
|
||||
+ (NSTimeZone*) systemTimeZone;
|
||||
+ (NSTimeZone*) timeZoneWithName: (NSString*)name data: (NSData*)data;
|
||||
|
@ -88,7 +88,6 @@ GS_EXPORT NSString * const NSSystemTimeZoneDidChangeNotification;
|
|||
#endif
|
||||
|
||||
#if OS_API_VERSION(100500,GS_API_LATEST)
|
||||
/** Not implemented */
|
||||
- (NSTimeInterval) daylightSavingTimeOffsetForDate: (NSDate *)aDate;
|
||||
/** Not implemented */
|
||||
- (NSDate *) nextDaylightSavingTimeTransitionAfterDate: (NSDate *)aDate;
|
||||
|
|
|
@ -79,8 +79,8 @@ typedef struct {
|
|||
NSString *localeID;
|
||||
NSTimeZone *tz;
|
||||
void *cal;
|
||||
NSInteger firstWeekday;
|
||||
NSInteger minimumDaysInFirstWeek;
|
||||
int32_t firstWeekday;
|
||||
int32_t minimumDaysInFirstWeek;
|
||||
} Calendar;
|
||||
#define my ((Calendar*)_NSCalendarInternal)
|
||||
#define aac ((Calendar*)(autoupdatingCalendar->_NSCalendarInternal))
|
||||
|
|
Loading…
Reference in a new issue