+1999-06-09 Miro Jurisic <meeroh@mit.edu>
+
+ * c_ustime.c (krb5_crypto_us_timeofday): fixed Mac PPC #ifdef
+
1999-06-09 Miro Jurisic <meeroh@mit.edu>
* c_ustime.c (krb5_crypto_us_timeofday): #ifdefed microseconds on Mac to be
((66 * 365 * 24 * 60 * 60) + (17 * 24 * 60 * 60) +
(getTimeZoneOffset() * 60 * 60));
-#ifdef TARGET_CPU_PPC /* Only PPC has accurate time */
+#if TARGET_CPU_PPC /* Only PPC has accurate time */
if (HaveAccurateTime ()) { /* Does hardware support accurate time? */
AbsoluteTime absoluteTime;
if (!alreadyChecked) {
alreadyChecked = true;
haveAccurateTime = false;
+#if TARGET_CPU_PPC
if ((Ptr) UpTime != (Ptr) kUnresolvedCFragSymbolAddress) {
UInt32 minAbsoluteTimeDelta;
UInt32 theAbsoluteTimeToNanosecondNumerator;
haveAccurateTime = true;
}
}
+#endif /* TARGET_CPU_PPC */
}
return haveAccurateTime;