X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f9fd7ea86d211e3681a71c9f70303aa72b5de3c..399b60a0ad232265cd74ce8bf6a53a1f2cc57ff2:/src/common/timercmn.cpp?ds=sidebyside diff --git a/src/common/timercmn.cpp b/src/common/timercmn.cpp index 84053540a8..f6148e0aa9 100644 --- a/src/common/timercmn.cpp +++ b/src/common/timercmn.cpp @@ -286,7 +286,6 @@ wxLongLong wxGetLocalTimeMillis() val *= wxGetLocalTime(); #if defined(__VISAGECPP__) -#warning "Possible clock skew bug in wxStopWatch!" DATETIME dt; ::DosGetDateTime(&dt); val += (dt.hundredths*10); @@ -296,7 +295,9 @@ wxLongLong wxGetLocalTimeMillis() ::GetLocalTime(&st); val += st.wMilliseconds; #else +#ifndef __VISUALC__ #warning "wxStopWatch will be up to second resolution!" +#endif #endif return val;