From 39d2585dcd3e827cfc3c46025ab6708c4aeb36c6 Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Fri, 6 Jan 2023 20:43:31 +0800 Subject: [PATCH] Style: Change #if !defined() to #ifndef in mythread.h. --- src/common/mythread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 // 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 #endif