X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5b12ad9a71615729a2dae61246a897f5e515e04..3af5821cf964398265547e23341e50cb6f55c081:/src/common/stopwatch.cpp?ds=sidebyside diff --git a/src/common/stopwatch.cpp b/src/common/stopwatch.cpp index d0cd68798c..1a6fcd064b 100644 --- a/src/common/stopwatch.cpp +++ b/src/common/stopwatch.cpp @@ -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