diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-01-06 20:43:31 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-01-06 20:43:31 +0800 |
commit | 78e0561dfebaa9d5e34558de537efcda890e0629 (patch) | |
tree | 0940136175ade136d27cfa69c5c9d84215021217 | |
parent | Build: Add missing stream_decoder_mt.c to .vcxproj files. (diff) | |
download | xz-78e0561dfebaa9d5e34558de537efcda890e0629.tar.xz |
Style: Change #if !defined() to #ifndef in mythread.h.
-rw-r--r-- | src/common/mythread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mythread.h b/src/common/mythread.h index a0dced19..37b5216b 100644 --- a/src/common/mythread.h +++ b/src/common/mythread.h @@ -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> // as a fallback. gettimeofday() is in SUSv2 and thus is supported on all // relevant POSIX systems. -#if !defined(HAVE_CLOCK_GETTIME) +#ifndef HAVE_CLOCK_GETTIME # include <sys/time.h> #endif |