@@ -114,11 +114,11 @@ [mutex release]; } #endif #ifdef OF_WINDOWS -static __time64_t (*func__mktime64)(struct tm *); +static __time64_t (*_mktime64FuncPtr)(struct tm *); #endif #ifdef HAVE_GMTIME_R # define GMTIME_RET(field) \ OFTimeInterval timeInterval = self.timeIntervalSince1970; \ @@ -352,11 +352,11 @@ atexit(releaseMutex); #endif #ifdef OF_WINDOWS if ((module = LoadLibrary("msvcrt.dll")) != NULL) - func__mktime64 = (__time64_t (*)(struct tm *)) + _mktime64FuncPtr = (__time64_t (*)(struct tm *)) GetProcAddress(module, "_mktime64"); #endif #if defined(OF_OBJFW_RUNTIME) && UINTPTR_MAX == UINT64_MAX dateTag = objc_registerTaggedPointerClass([OFTaggedPointerDate class]); @@ -475,12 +475,12 @@ UTF8String + string.UTF8StringLength) @throw [OFInvalidFormatException exception]; if (tz == SHRT_MAX) { #ifdef OF_WINDOWS - if (func__mktime64 != NULL) { - if ((seconds = func__mktime64(&tm)) == -1) + if (_mktime64FuncPtr != NULL) { + if ((seconds = _mktime64FuncPtr(&tm)) == -1) @throw [OFInvalidFormatException exception]; } else { #endif if ((seconds = mktime(&tm)) == -1) @throw [OFInvalidFormatException exception];