diff --git a/lib/sendf.h b/lib/sendf.h index 2c6db90b4..f8808f662 100644 --- a/lib/sendf.h +++ b/lib/sendf.h @@ -32,9 +32,6 @@ void Curl_failf(struct SessionHandle *, const char *fmt, ...); #if defined(CURL_DISABLE_VERBOSE_STRINGS) -#if defined(HAVE_CONFIG_H) || \ - defined(HAVE_VARIADIC_MACROS_C99) || defined(HAVE_VARIADIC_MACROS_GCC) - #if defined(HAVE_VARIADIC_MACROS_C99) #define infof(...) do { } while (0) #elif defined(HAVE_VARIADIC_MACROS_GCC) @@ -43,18 +40,6 @@ void Curl_failf(struct SessionHandle *, const char *fmt, ...); #define infof (void) #endif -#else - -#if defined(__STDC__) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) -#define infof(...) do { } while (0) -#elif defined(__GNUC__) -#define infof(x...) do { } while (0) -#else -#define infof (void) -#endif - -#endif - #else /* CURL_DISABLE_VERBOSE_STRINGS */ #define infof Curl_infof