mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-27 06:29:19 +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
|
||||
#endif
|
||||
|
||||
#if !defined(TEMP_FAILURE_RETRY)
|
||||
#ifdef __APPLE__
|
||||
# warning DEFINING CUSTOM TEMP_FAILURE_RETRY(x) macro
|
||||
# define TEMP_FAILURE_RETRY(exp) ({ \
|
||||
typeof (exp) _rc; \
|
||||
|
@ -68,8 +68,6 @@ static void _shutdown_threads(void) {
|
||||
static struct timespec ts = { .tv_sec=0, .tv_nsec=33333333 };
|
||||
nanosleep(&ts, NULL); // 30Hz framerate
|
||||
} while (1);
|
||||
# elif !defined(__APPLE__)
|
||||
# error TODO FIXME ... verify leaks-n-things with Valgrind on unknown platform
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user