[email protected] 8 years ago
parent
commit
c2404b684d
1 changed files with 1 additions and 3 deletions
  1. 1 3
      oxygine/src/Clock.cpp

+ 1 - 3
oxygine/src/Clock.cpp

@@ -179,8 +179,6 @@ namespace oxygine
         int64 t = tm.dwLowDateTime + (int64(tm.dwHighDateTime) << 32);
         int64 utc = (t - 116444736000000000LL) / 10000;
         return utc;
-#elif __ANDROID__
-        return jniGetTimeUTCMS();
 #elif EMSCRIPTEN
         struct timeval tv;
         gettimeofday(&tv, NULL);
@@ -188,7 +186,7 @@ namespace oxygine
             (unsigned long long)(tv.tv_sec) * 1000 +
             (unsigned long long)(tv.tv_usec) / 1000;
         return tm;
-#elif __APPLE__
+#elif __APPLE__ || __ANDROID__
         struct timeval tv;
         gettimeofday(&tv, NULL);
         int64 tm =