summaryrefslogtreecommitdiff
path: root/lib/curl_setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-12 15:54:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-17 10:26:53 +0200
commit80d9e35598d5e6029dc4c90bf3da885682936d2a (patch)
tree952d270ac713d7b9373d6020976a9dd9c0dbc421 /lib/curl_setup.h
parentc95eff4a11575a5973fad20619ff7ca3989316db (diff)
downloadcurl-80d9e35598d5e6029dc4c90bf3da885682936d2a.tar.gz
system.h: remove all CURL_SIZEOF_* defines
... as they're not used externally and internally we check for the sizes already in configure etc. Closes #1767
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r--lib/curl_setup.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index 95500beac..36d1e42bc 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -141,14 +141,7 @@
#include <curl/curl.h>
-/*
- * Ensure that no one is using the old SIZEOF_CURL_OFF_T macro
- */
-
-#ifdef SIZEOF_CURL_OFF_T
-# error "SIZEOF_CURL_OFF_T shall not be defined!"
- Error Compilation_aborted_SIZEOF_CURL_OFF_T_shall_not_be_defined
-#endif
+#define CURL_SIZEOF_CURL_OFF_T SIZEOF_CURL_OFF_T
/*
* Disable other protocols when http is the only one desired.