Cocoa: Fix macOS 10.12 deprecation warnings

This commit is contained in:
Camilla Berglund
2016-10-09 01:39:31 +02:00
parent cc3036860a
commit 7f9840cecf
3 changed files with 36 additions and 22 deletions

4
deps/tinycthread.h vendored
View File

@@ -123,7 +123,9 @@ typedef int _tthread_clockid_t;
/* Emulate clock_gettime */
int _tthread_clock_gettime(clockid_t clk_id, struct timespec *ts);
#define clock_gettime _tthread_clock_gettime
#define CLOCK_REALTIME 0
#ifndef CLOCK_REALTIME
#define CLOCK_REALTIME 0
#endif
#endif