]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/timercmn.cpp
Smooth Aqua buttons in wxTreeCtrl.
[wxWidgets.git] / src / common / timercmn.cpp
index 7746d40ca743c75651a0061c68f67095d5c51122..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
@@ -334,7 +339,7 @@ wxLongLong wxGetLocalTimeMillis()
         #pragma message("wxStopWatch will be up to second resolution!")
     #elif defined(__BORLANDC__)
         #pragma message "wxStopWatch will be up to second resolution!"
-    #elif
+    #else
         #warning "wxStopWatch will be up to second resolution!"
     #endif // compiler
 #endif