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
This commit is contained in:
Daniel Stenberg 2017-08-12 15:54:06 +02:00
parent c95eff4a11
commit 80d9e35598
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 27 additions and 412 deletions

View file

@ -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.