summaryrefslogtreecommitdiff
path: root/lib/warnless.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-03-25 11:39:13 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-03-25 11:39:13 +0100
commit675330b8dfd3e62c6748de0ebeab4a2d32affcf6 (patch)
treea00bee638bd56ce061a67b68566c5be7585e1d8b /lib/warnless.c
parenta1a66c7cd636a5960beaad30e961928ad27d9f5b (diff)
downloadcurl-675330b8dfd3e62c6748de0ebeab4a2d32affcf6.tar.gz
use CURL_SIZEOF_LONG instead of SIZEOF_LONG
That's the symbol we have or generate in include/curl/curlbuild.h
Diffstat (limited to 'lib/warnless.c')
-rw-r--r--lib/warnless.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/warnless.c b/lib/warnless.c
index f19bbe398..4f42dd07f 100644
--- a/lib/warnless.c
+++ b/lib/warnless.c
@@ -59,13 +59,13 @@
#if (CURL_SIZEOF_LONG == 2)
# define CURL_MASK_SLONG 0x7FFFL
# define CURL_MASK_ULONG 0xFFFFUL
-#elif (SIZEOF_LONG == 4)
+#elif (CURL_SIZEOF_LONG == 4)
# define CURL_MASK_SLONG 0x7FFFFFFFL
# define CURL_MASK_ULONG 0xFFFFFFFFUL
-#elif (SIZEOF_LONG == 8)
+#elif (CURL_SIZEOF_LONG == 8)
# define CURL_MASK_SLONG 0x7FFFFFFFFFFFFFFFL
# define CURL_MASK_ULONG 0xFFFFFFFFFFFFFFFFUL
-#elif (SIZEOF_LONG == 16)
+#elif (CURL_SIZEOF_LONG == 16)
# define CURL_MASK_SLONG 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFL
# define CURL_MASK_ULONG 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFUL
#else