]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/timercmn.cpp
fixed wxTaskBarIcon compilation
[wxWidgets.git] / src / common / timercmn.cpp
index 234ea9e0c29c81299a05b91369b552a236217921..3ff1adf9d1dc7c50ce30dfb3b8e020532e8fed06 100644 (file)
 #  endif
 #endif
 
+#if defined(__MWERKS__) && defined(__WXMSW__)
+#   undef HAVE_FTIME
+#   undef HAVE_GETTIMEOFDAY
+#endif
+
 #include <time.h>
 #ifndef __WXMAC__
     #include <sys/types.h>      // for time_t
@@ -330,7 +335,7 @@ wxLongLong wxGetLocalTimeMillis()
     // do NOT just shut off these warnings, drop me a line instead at
     // <guille@iies.es>
 
-    #if defined(__VISUALC__)
+    #if defined(__VISUALC__) || defined (__WATCOMC__)
         #pragma message("wxStopWatch will be up to second resolution!")
     #elif defined(__BORLANDC__)
         #pragma message "wxStopWatch will be up to second resolution!"