diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-11-13 21:57:33 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-11-13 21:57:33 +0000 |
commit | dcb5a4df01c1e0c123278070a1e9619421dca947 (patch) | |
tree | 124fa16b16c5f929c1f596dec9b58939cce6f0f2 | |
parent | fd64213c2f123ff6a2a68756741a5cc4f4f8cac3 (diff) | |
download | curl-dcb5a4df01c1e0c123278070a1e9619421dca947.tar.gz |
Dan fixed the CURL_DISABLE_VERBOSE_STRINGS stuff for older gcc versions since
they don't support C99 varargs macros.
-rw-r--r-- | lib/sendf.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sendf.h b/lib/sendf.h index 1d7b3522d..0cd342bd7 100644 --- a/lib/sendf.h +++ b/lib/sendf.h @@ -30,9 +30,11 @@ void Curl_failf(struct SessionHandle *, const char *fmt, ...); #if defined(CURL_DISABLE_VERBOSE_STRINGS) #if defined(__GNUC__) -/* Variable argument macros is a C99 feature long supported by gcc */ -#define infof(...) /*ignore*/ +/* This style of variable argument macros is a gcc extension */ +#define infof(x...) /*ignore*/ #else +/* C99 compilers could use this if we could detect them */ +/*#define infof(...) */ /* Cast the args to void to make them a noop, side effects notwithstanding */ #define infof (void) #endif |