libretro-common: Update features_cpu.c to take macOS 10.12 Sierra into account when defining clock_gettime().

This commit is contained in:
rogerman 2016-11-26 17:10:05 -08:00
parent 6744e162a8
commit 183b41cb77
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@
#define CLOCK_REALTIME 0
#endif
#if __IPHONE_OS_VERSION_MAX_ALLOWED < 100000
// this function is part of iOS 10 now
#if (__MAC_OS_X_VERSION_MAX_ALLOWED < 101200) && (__IPHONE_OS_VERSION_MAX_ALLOWED < 100000)
// this function is part of macOS 10.12 and iOS 10 now
static int clock_gettime(int clk_ik, struct timespec *t)
{
struct timeval now;