]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stopwatch.cpp
MinGW compilation fixes.
[wxWidgets.git] / src / common / stopwatch.cpp
index f6f5638032b4e0ce8df0911bd8804c8671088c5d..1a6fcd064b6467cac59156d907a4004500b24b86 100644 (file)
@@ -33,8 +33,8 @@
     #include "wx/log.h"
 #endif //WX_PRECOMP
 
-#include "wx/timer.h"
 #include "wx/longlong.h"
+#include "wx/stopwatch.h"
 
 // ----------------------------------------------------------------------------
 // System headers
@@ -250,7 +250,7 @@ wxLongLong wxGetLocalTimeMillis()
     // If possible, use a function which avoids conversions from
     // broken-up time structures to milliseconds
 
-#if defined(__WXMSW__) && defined(__MWERKS__)
+#if defined(__WXMSW__) && (defined(__WINE__) || defined(__MWERKS__))
     // This should probably be the way all WXMSW compilers should do it
     // Go direct to the OS for time