]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stopwatch.cpp
Some wxPerl notes.
[wxWidgets.git] / src / common / stopwatch.cpp
index ed4987fc09160338e8eecd8c835b740bf6beec8d..c0741a2f53e96ef19f3b99943675507bb63b7b2a 100644 (file)
@@ -193,12 +193,7 @@ long wxGetLocalTime()
 // Get UTC time as seconds since 00:00:00, Jan 1st 1970
 long wxGetUTCTime()
 {
-#ifdef _MSC_VER
-       unsigned
-#endif
-    long timenow = 0;
-    time(&timenow);
-    return timenow;
+    return (long)time(NULL);
 }
 
 #if wxUSE_LONGLONG