From 43e414069dfadede56f58af080ad992694a4d562 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 25 Jul 2025 15:03:58 +0200 Subject: [PATCH] include ifdef --- include/curl/mprintf.h | 2 +- include/curl/system.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/curl/mprintf.h b/include/curl/mprintf.h index 88059c851f..19b71c38b1 100644 --- a/include/curl/mprintf.h +++ b/include/curl/mprintf.h @@ -38,7 +38,7 @@ extern "C" { defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && \ !defined(CURL_NO_FMT_CHECKS) #if defined(__MINGW32__) && !defined(__clang__) -#if defined(__MINGW_PRINTF_FORMAT) /* mingw-w64 3.0.0+. Needs stdio.h. */ +#ifdef __MINGW_PRINTF_FORMAT /* mingw-w64 3.0.0+. Needs stdio.h. */ #define CURL_TEMP_PRINTF(fmt, arg) \ __attribute__((format(__MINGW_PRINTF_FORMAT, fmt, arg))) #else diff --git a/include/curl/system.h b/include/curl/system.h index 3efae20ec6..62ed2b0f43 100644 --- a/include/curl/system.h +++ b/include/curl/system.h @@ -82,7 +82,7 @@ # define CURL_TYPEOF_CURL_SOCKLEN_T int #elif defined(__LCC__) -# if defined(__MCST__) /* MCST eLbrus Compiler Collection */ +# ifdef __MCST__ /* MCST eLbrus Compiler Collection */ # define CURL_TYPEOF_CURL_OFF_T long # define CURL_FORMAT_CURL_OFF_T "ld" # define CURL_FORMAT_CURL_OFF_TU "lu"