X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd362275b853cc0308bbde6a60bb2525d659f709..a9ed8caa09bc542a2ad9f752c0a6ca63c7119747:/src/common/time.cpp?ds=inline diff --git a/src/common/time.cpp b/src/common/time.cpp index ff163db0cc..ebc597d969 100644 --- a/src/common/time.cpp +++ b/src/common/time.cpp @@ -26,7 +26,7 @@ #include "wx/time.h" #ifndef WX_PRECOMP - #ifdef __WXMSW__ + #ifdef __WINDOWS__ #include "wx/msw/wrapwin.h" #endif #include "wx/intl.h" @@ -48,7 +48,7 @@ # endif #endif -#if defined(__MWERKS__) && defined(__WXMSW__) +#if defined(__MWERKS__) && defined(__WINDOWS__) # undef HAVE_FTIME # undef HAVE_GETTIMEOFDAY #endif @@ -274,7 +274,7 @@ long wxGetUTCTime() wxLongLong wxGetUTCTimeUSec() { -#if defined(__WXMSW__) +#if defined(__WINDOWS__) FILETIME ft; ::GetSystemTimeAsFileTime(&ft); @@ -309,7 +309,7 @@ wxLongLong wxGetUTCTimeMillis() // If possible, use a function which avoids conversions from // broken-up time structures to milliseconds -#if defined(__WXMSW__) +#if defined(__WINDOWS__) FILETIME ft; ::GetSystemTimeAsFileTime(&ft);