Fix issue under windows

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2012-01-08 03:03:04 +00:00
parent 24d951363d
commit ac799f4b9b

View File

@ -94,7 +94,7 @@ public:
t |= ft.dwLowDateTime; t |= ft.dwLowDateTime;
// Convert to seconds since epoch // Convert to seconds since epoch
float f = (float)(double(t) / 1000000.0); float f = (float)(double(t) / 1000000.0);
return tf; return f;
#else #else
struct timeval tv; struct timeval tv;
gettimeofday(&tv, NULL); gettimeofday(&tv, NULL);