mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-18 02:09:41 +00:00
Fix build when targeting Sierra.
Sierra now supports clock_gettime(), so fix some code that assumed mach and HAVE_CLOCK_GETTIME where mutually exclusive.
This commit is contained in:
parent
b5820d8059
commit
35ca220d90
@ -32,7 +32,7 @@
|
|||||||
#define CLOCK_REALTIME 0
|
#define CLOCK_REALTIME 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__MACH__)
|
#if !defined(HAVE_CLOCK_GETTIME) && defined(__MACH__)
|
||||||
#include <mach/mach.h>
|
#include <mach/mach.h>
|
||||||
#include <mach/clock.h>
|
#include <mach/clock.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user