aboutsummaryrefslogtreecommitdiff
path: root/vendor/curl/c/mprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/curl/c/mprintf.h')
-rw-r--r--vendor/curl/c/mprintf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/curl/c/mprintf.h b/vendor/curl/c/mprintf.h
index 88059c851..9272e7489 100644
--- a/vendor/curl/c/mprintf.h
+++ b/vendor/curl/c/mprintf.h
@@ -28,7 +28,7 @@
#include <stdio.h> /* needed for FILE */
#include "curl.h" /* for CURL_EXTERN */
-#ifdef __cplusplus
+#ifdef __cplusplus
extern "C" {
#endif
@@ -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
@@ -78,7 +78,7 @@ CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args)
#undef CURL_TEMP_PRINTF
-#ifdef __cplusplus
+#ifdef __cplusplus
} /* end of extern "C" */
#endif