projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup - reformatting
[wxWidgets.git]
/
src
/
common
/
stopwatch.cpp
diff --git
a/src/common/stopwatch.cpp
b/src/common/stopwatch.cpp
index cd13eb058882e55cee011b27bd59f164cbde7523..9cf9902ae13209acb5170364789ce4d6602c1e7e 100644
(file)
--- a/
src/common/stopwatch.cpp
+++ b/
src/common/stopwatch.cpp
@@
-364,6
+364,13
@@
wxLongLong wxGetLocalTimeMillis()
#endif // time functions
}
#endif // time functions
}
-#endif // wxUSE_LONGLONG
+#else // !wxUSE_LONGLONG
+
+double wxGetLocalTimeMillis(void)
+{
+ return (double(clock()) / double(CLOCKS_PER_SEC)) * 1000.0;
+}
+
+#endif // wxUSE_LONGLONG/!wxUSE_LONGLONG