Fixed CE on MACH
This commit is contained in:
parent
017851107c
commit
a60ae1ae93
1 changed files with 5 additions and 0 deletions
5
tools.c
5
tools.c
|
@ -42,6 +42,11 @@
|
|||
#include <mach/mach.h>
|
||||
#endif
|
||||
|
||||
#ifdef __MACH__
|
||||
#define CLOCK_REALTIME 0
|
||||
#define CLOCK_MONOTONIC 1
|
||||
#endif
|
||||
|
||||
#define RES_PRE 8
|
||||
#define RES_AFTER 8
|
||||
#define MAX_BLOCKS 1000000
|
||||
|
|
Loading…
Add table
Reference in a new issue