Open nkittsteiner opened 6 years ago
I got this error trying to compile on a macbook: util.c:1008:44: error: use of undeclared identifier 'TIMER_ABSTIME' ret = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, ts_end, NULL);
Any help would be truly appreciate :)
On linux it's defined as 1 so you can just do that at the top of util.c:
define TIMER_ABSTIME 1
I met the same problem. how about it ?
I got this error trying to compile on a macbook: util.c:1008:44: error: use of undeclared identifier 'TIMER_ABSTIME' ret = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, ts_end, NULL);
Any help would be truly appreciate :)