]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/timercmn.cpp
Replaced all the strxxx() function calls with wxStrxxx() function calls.
[wxWidgets.git] / src / common / timercmn.cpp
index 63a4eced88cb84e9afd39bf8500b6442cc99b452..bd4d7018d2fe7c26c60dcaa1aa387bf0acffd698 100644 (file)
@@ -36,7 +36,7 @@
 #include "wx/timer.h"
 
 // I'm told VMS is POSIX, so should have localtime()
-#if defined(__WXMSW__) || defined(__VMS__)
+#if defined(__WXMSW__) || defined(__VMS__) || defined(__WXPM__) || defined(__WXMAC__)
     // configure might have found it already for us
     #ifndef HAVE_LOCALTIME
         #define HAVE_LOCALTIME
@@ -46,7 +46,7 @@
 // TODO: #define WX_GMTOFF_IN_TM for Windows compilers which have it here
 
 #if defined(__WIN32__) && !defined(WX_GMTOFF_IN_TM)
-    #include <winbase.h>
+    #include <windows.h>
 #endif
 
 #if defined(HAVE_GETTIMEOFDAY)