X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ed0d735d588f42485461ea526596436c4c6ad4b..a6c7a0f826d5e156c177b4755365c3eb33e9b933:/src/common/stopwatch.cpp diff --git a/src/common/stopwatch.cpp b/src/common/stopwatch.cpp index f6f5638032..1a6fcd064b 100644 --- a/src/common/stopwatch.cpp +++ b/src/common/stopwatch.cpp @@ -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