diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-08-16 10:25:49 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-08-16 10:25:49 +0200 |
commit | 47318020316b130ecf1fc3bc184a815d98fbd6e8 (patch) | |
tree | dcf1f7f0a0fc26ae0e184febeb48c72819370a53 /lib/mprintf.c | |
parent | 6ccbdd1a510087d34959cf3f02b0ea6ba6bfe29c (diff) | |
download | curl-bagder/system-h-remove-sizes.tar.gz |
CURL_SIZEOF_LONG: removed, use only SIZEOF_LONGbagder/system-h-remove-sizes
Diffstat (limited to 'lib/mprintf.c')
-rw-r--r-- | lib/mprintf.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/mprintf.c b/lib/mprintf.c index 4e94b10ad..9920a0d3c 100644 --- a/lib/mprintf.c +++ b/lib/mprintf.c @@ -46,10 +46,6 @@ * If SIZEOF_SIZE_T has not been defined, default to the size of long. */ -#ifndef SIZEOF_SIZE_T -# define SIZEOF_SIZE_T CURL_SIZEOF_LONG -#endif - #ifdef HAVE_LONGLONG # define LONG_LONG_TYPE long long # define HAVE_LONG_LONG_TYPE @@ -326,7 +322,7 @@ static int dprintf_Pass1(const char *format, va_stack_t *vto, char **endpos, break; #if defined(MP_HAVE_INT_EXTENSIONS) case 'I': -#if (CURL_SIZEOF_CURL_OFF_T > CURL_SIZEOF_LONG) +#if (SIZEOF_CURL_OFF_T > SIZEOF_LONG) flags |= FLAGS_LONGLONG; #else flags |= FLAGS_LONG; @@ -355,7 +351,7 @@ static int dprintf_Pass1(const char *format, va_stack_t *vto, char **endpos, #endif break; case 'O': -#if (CURL_SIZEOF_CURL_OFF_T > SIZEOF_LONG) +#if (SIZEOF_CURL_OFF_T > SIZEOF_LONG) flags |= FLAGS_LONGLONG; #else flags |= FLAGS_LONG; |