mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-14 18:30:01 +00:00
Fix Android build after Mac iteration
This commit is contained in:
parent
c35122beb6
commit
46c286719f
@ -16,7 +16,7 @@
|
|||||||
# define _GNU_SOURCE 1
|
# define _GNU_SOURCE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(TEMP_FAILURE_RETRY)
|
#ifdef __APPLE__
|
||||||
# warning DEFINING CUSTOM TEMP_FAILURE_RETRY(x) macro
|
# warning DEFINING CUSTOM TEMP_FAILURE_RETRY(x) macro
|
||||||
# define TEMP_FAILURE_RETRY(exp) ({ \
|
# define TEMP_FAILURE_RETRY(exp) ({ \
|
||||||
typeof (exp) _rc; \
|
typeof (exp) _rc; \
|
||||||
|
@ -68,8 +68,6 @@ static void _shutdown_threads(void) {
|
|||||||
static struct timespec ts = { .tv_sec=0, .tv_nsec=33333333 };
|
static struct timespec ts = { .tv_sec=0, .tv_nsec=33333333 };
|
||||||
nanosleep(&ts, NULL); // 30Hz framerate
|
nanosleep(&ts, NULL); // 30Hz framerate
|
||||||
} while (1);
|
} while (1);
|
||||||
# elif !defined(__APPLE__)
|
|
||||||
# error TODO FIXME ... verify leaks-n-things with Valgrind on unknown platform
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user