Style: Change #if !defined() to #ifndef in mythread.h.
This commit is contained in:
parent
3f0130aa28
commit
39d2585dcd
|
@ -108,7 +108,7 @@ mythread_sigmask(int how, const sigset_t *restrict set,
|
||||||
// If clock_gettime() isn't available, use gettimeofday() from <sys/time.h>
|
// If clock_gettime() isn't available, use gettimeofday() from <sys/time.h>
|
||||||
// as a fallback. gettimeofday() is in SUSv2 and thus is supported on all
|
// as a fallback. gettimeofday() is in SUSv2 and thus is supported on all
|
||||||
// relevant POSIX systems.
|
// relevant POSIX systems.
|
||||||
#if !defined(HAVE_CLOCK_GETTIME)
|
#ifndef HAVE_CLOCK_GETTIME
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue