]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datetime.cpp
Calculate correct client size for windows that are using deferred sizing.
[wxWidgets.git] / src / common / datetime.cpp
index 009149c105ba5ac60c6dd88dbb88e4d4dcf1b83f..c797fc0144ee085109bdde0917d4e821306d416f 100644 (file)
@@ -169,7 +169,7 @@ wxCUSTOM_TYPE_INFO(wxDateTime, wxToStringConverter<wxDateTime> , wxFromStringCon
     #endif
 #endif // !WX_TIMEZONE && !WX_GMTOFF_IN_TM
 
-#if wxUSE_THREADS
+#if (!defined(HAVE_LOCALTIME_R) || !defined(HAVE_GMTIME_R)) && wxUSE_THREADS && !defined(__WINDOWS__)
 static wxMutex timeLock;
 #endif