]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - API/tests/DateTests.mm
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / API / tests / DateTests.mm
index b4bc9ec98cd37cc12adc844eefb8523c72b3e95e..e2837a63320b7b971f175fe343a4a4797e8417ef 100644 (file)
@@ -37,11 +37,7 @@ extern "C" void checkResult(NSString *description, bool passed);
 + (void) roundTripThroughObjCDateTest;
 @end
 
-#if (TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000) || (TARGET_OS_MAC && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090)
 static unsigned unitFlags = NSCalendarUnitSecond | NSCalendarUnitMinute | NSCalendarUnitHour | NSCalendarUnitDay | NSCalendarUnitMonth | NSCalendarUnitYear;
-#else
-static unsigned unitFlags = NSSecondCalendarUnit | NSMinuteCalendarUnit | NSHourCalendarUnit | NSDayCalendarUnit | NSMonthCalendarUnit | NSYearCalendarUnit;
-#endif
 
 @implementation DateTests
 + (void) NSDateToJSDateTest