X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6058220154150a2f60b09198a444411873050e52..abb4f9c93715f5b00c526203af96ed2938a1a2c3:/src/common/stopwatch.cpp?ds=sidebyside diff --git a/src/common/stopwatch.cpp b/src/common/stopwatch.cpp index 236dc5aa67..cd13eb0588 100644 --- a/src/common/stopwatch.cpp +++ b/src/common/stopwatch.cpp @@ -79,8 +79,18 @@ #endif #ifdef __WXMAC__ +#ifndef __DARWIN__ #include #include +#else + #include +#endif +#endif + +#ifdef __WXPALMOS__ + #include + #include + #include #endif // ---------------------------------------------------------------------------- @@ -286,7 +296,7 @@ wxLongLong wxGetLocalTimeMillis() // ftime() is void and not int in some mingw32 headers, so don't // test the return code (well, it shouldn't fail anyhow...) - (void)ftime(&tp); + (void)::ftime(&tp); val *= tp.time; return (val + tp.millitm); #elif defined(__WXMAC__)