mirror of
https://github.com/pocketpy/pocketpy
synced 2025-11-05 11:10:17 +00:00
Compare commits
2 Commits
6dcc7ba8aa
...
fc0d94c12e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc0d94c12e | ||
|
|
956404177b |
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
static bool get_ns(int64_t* out) {
|
static bool get_ns(int64_t* out) {
|
||||||
struct timespec tms;
|
struct timespec tms;
|
||||||
#ifdef __ANDROID__
|
#if defined( __ANDROID__) || defined(__MINGW32__) || defined(__MINGW64__)
|
||||||
clock_gettime(CLOCK_REALTIME, &tms);
|
clock_gettime(CLOCK_REALTIME, &tms);
|
||||||
#else
|
#else
|
||||||
/* The C11 way */
|
/* The C11 way */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user