Emscripten fix

This commit is contained in:
Joshua Granick
2014-08-29 12:39:15 -07:00
parent d68f0ddfa2
commit 6510d41c2c
3 changed files with 5 additions and 7 deletions

View File

@@ -104,7 +104,7 @@ namespace lime {
#elif defined (GPH) || defined (HX_LINUX) || defined (EMSCRIPTEN)
struct timeval tv;
if (gettimeofday (&tv, NULL))
if (gettimeofday (&tv, 0))
return 0;
double t = (tv.tv_sec + ((double)tv.tv_usec) / 1000000.0);