tidy-up: prefer ifdef/ifndef for single checks

Closes #18018
This commit is contained in:
Viktor Szakats 2025-07-25 14:31:16 +02:00
parent b2bccdc257
commit 89771d19d5
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
109 changed files with 319 additions and 324 deletions

View file

@ -26,7 +26,7 @@
#include <curl/curl.h>
#if defined(USE_THREADS_POSIX)
#ifdef USE_THREADS_POSIX
# ifdef HAVE_PTHREAD_H
# include <pthread.h>
# endif
@ -39,7 +39,7 @@
/* The last #include file should be: */
#include "memdebug.h"
#if defined(USE_THREADS_POSIX)
#ifdef USE_THREADS_POSIX
struct Curl_actual_call {
unsigned int (*func)(void *);