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

@ -24,7 +24,7 @@
#include "curl_setup.h"
#if !defined(CURL_DISABLE_HTTP)
#ifndef CURL_DISABLE_HTTP
#include "urldata.h"
#include <curl/curl.h>
@ -749,4 +749,4 @@ out:
return result;
}
#endif /* !defined(CURL_DISABLE_HTTP) */
#endif /* !CURL_DISABLE_HTTP */