provide wxGetLocalTimeMillis() (returning double) even if wxUSE_LONGLONG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -364,6 +364,13 @@ wxLongLong wxGetLocalTimeMillis()
|
||||
#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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user