1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Style: Change #if !defined() to #ifndef in mythread.h.

This commit is contained in:
Jia Tan 2023-01-06 20:43:31 +08:00
parent e834e1e934
commit 78e0561dfe

View file

@ -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