mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
update/correct OSX versions of methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36385 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0dab3b4ca8
commit
ac3e413d7c
1 changed files with 2 additions and 5 deletions
|
@ -85,9 +85,7 @@ enum
|
|||
NSInteger _weekday;
|
||||
NSInteger _weekdayOrdinal;
|
||||
NSInteger _quarter;
|
||||
// FIXME: In reality these are only available on iOS > 4. Will probably show
|
||||
// up in OS X 10.7.
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
|
||||
NSCalendar *_cal;
|
||||
NSTimeZone *_tz;
|
||||
#endif
|
||||
|
@ -120,8 +118,7 @@ enum
|
|||
- (void) setQuarter: (NSInteger) v;
|
||||
#endif
|
||||
|
||||
// FIXME: In reality these are only available on iOS > 4.
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
|
||||
- (NSCalendar *) calendar;
|
||||
- (NSTimeZone *) timeZone;
|
||||
- (void) setCalendar: (NSCalendar *) cal;
|
||||
|
|
Loading…
Reference in a new issue