changed MISSING_{NANOSLEEP,GETTIME} to use -D to fix compilation on OS X

This commit is contained in:
Jon Williams 2016-03-31 13:38:34 -04:00
parent 94706763e5
commit e0c15ea7e8
3 changed files with 7 additions and 14 deletions

View file

@ -1,8 +1,8 @@
#ifndef CLOCK_NANOSLEEP_H
#define CLOCK_NANOSLEEP_H
#ifndef _CLOCK_T_DEFINED_
#define _CLOCK_T_DEFINED_
#ifndef CLOCKID_T
#define CLOCKID_T
typedef enum
{
CLOCK_REALTIME,
@ -10,7 +10,8 @@ typedef enum
CLOCK_PROCESS_CPUTIME_ID,
CLOCK_THREAD_CPUTIME_ID
} clockid_t;
#endif // _CLOCK_T_DEFINED_
#endif // ifndef CLOCKID_T
#ifndef TIMER_ABSTIME
#define TIMER_ABSTIME 1