#if defined(__WIN32__) && !defined(HAVE_FTIME)
#define HAVE_FTIME
- #ifdef (__VISUALC__)
- #define ftime _ftime
- #endif
#endif
#include <time.h>
val *= wxGetLocalTime();
#if defined(__VISAGECPP__)
-#warning "Possible clock skew bug in wxStopWatch!"
DATETIME dt;
::DosGetDateTime(&dt);
val += (dt.hundredths*10);
::GetLocalTime(&st);
val += st.wMilliseconds;
#else
+#ifndef __VISUALC__
#warning "wxStopWatch will be up to second resolution!"
+#endif
#endif
return val;