summaryrefslogtreecommitdiff
path: root/lib/mprintf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-16 10:25:49 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-17 10:27:00 +0200
commit6b9bc5a4fe5ebfb884a0ea7fe0329923cd4b774c (patch)
tree25e997927895836c3645d70f74f7ef5959a6a230 /lib/mprintf.c
parentab2ef24d5d7576fc2f0cb57be947323376324782 (diff)
downloadcurl-6b9bc5a4fe5ebfb884a0ea7fe0329923cd4b774c.tar.gz
CURL_SIZEOF_LONG: removed, use only SIZEOF_LONG
Diffstat (limited to 'lib/mprintf.c')
-rw-r--r--lib/mprintf.c8
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;