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:
rfm 2013-03-20 07:21:15 +00:00
parent 50f2ea5d9f
commit 8c8f782233

View file

@ -85,9 +85,7 @@ enum
NSInteger _weekday; NSInteger _weekday;
NSInteger _weekdayOrdinal; NSInteger _weekdayOrdinal;
NSInteger _quarter; NSInteger _quarter;
// FIXME: In reality these are only available on iOS > 4. Will probably show #if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
// up in OS X 10.7.
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
NSCalendar *_cal; NSCalendar *_cal;
NSTimeZone *_tz; NSTimeZone *_tz;
#endif #endif
@ -120,8 +118,7 @@ enum
- (void) setQuarter: (NSInteger) v; - (void) setQuarter: (NSInteger) v;
#endif #endif
// FIXME: In reality these are only available on iOS > 4. #if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
- (NSCalendar *) calendar; - (NSCalendar *) calendar;
- (NSTimeZone *) timeZone; - (NSTimeZone *) timeZone;
- (void) setCalendar: (NSCalendar *) cal; - (void) setCalendar: (NSCalendar *) cal;