Compare commits

..

No commits in common. "fc0d94c12e9e27903bbb99d213be3bd9db2c318a" and "6dcc7ba8aa3c80c28314f3c28f551ee7cd99e90a" have entirely different histories.

View File

@ -6,7 +6,7 @@
static bool get_ns(int64_t* out) {
struct timespec tms;
#if defined( __ANDROID__) || defined(__MINGW32__) || defined(__MINGW64__)
#ifdef __ANDROID__
clock_gettime(CLOCK_REALTIME, &tms);
#else
/* The C11 way */
@ -102,4 +102,4 @@ void pk__add_module_time() {
py_bindfunc(mod, "time_ns", time_time_ns);
py_bindfunc(mod, "sleep", time_sleep);
py_bindfunc(mod, "localtime", time_localtime);
}
}