Commit c6ab41c3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix flawed CPP logic

parent 24172d4d
...@@ -41,11 +41,11 @@ ...@@ -41,11 +41,11 @@
#endif #endif
#if !defined (_POSIX_TIMERS) #if !defined (_POSIX_TIMERS)
# define _POSIX_TIMERS (-1) # define _POSIX_TIMERS (-1)
# include <sys/time.h> #endif
#elif defined __APPLE__ #if (_POSIX_TIMERS > 0)
# include <sys/time.h>
#else
# include <time.h> /* clock_gettime() */ # include <time.h> /* clock_gettime() */
#else
# include <sys/time.h>
#endif #endif
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment