diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-03-29 14:38:56 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-04-03 23:24:39 +0200 |
commit | 9506d01ee50d5908138ebad0fd9fbd39b66bd64d (patch) | |
tree | 9ac9aa6db354d2d98406fabf6e589a89d4d8c692 /lib | |
parent | 5f1163517e1597339d980b6504dbbece43c7027c (diff) | |
download | curl-9506d01ee50d5908138ebad0fd9fbd39b66bd64d.tar.gz |
include: curl/system.h is a run-time version of curlbuild.h
system.h is aimed to replace curlbuild.h at a later point in time when
we feel confident system.h works sufficiently well.
curl/system.h is currently used in parallel with curl/curlbuild.h
curl/system.h determines a data sizes, data types and include file
status based on available preprocessor defines instead of getting
generated at build-time. This, in order to avoid relying on a build-time
generated file that makes it complicated to do 32 and 64 bit bields from
the same installed set of headers.
Test 1541 verifies that system.h comes to the same conclusion that
curlbuild.h offers.
Closes #1373
Diffstat (limited to 'lib')
-rw-r--r-- | lib/curl_setup.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h index 0fe3633ec..9d99f1394 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -124,18 +124,7 @@ /* please, do it beyond the point further indicated in this file. */ /* ================================================================ */ -/* - * libcurl's external interface definitions are also used internally, - * and might also include required system header files to define them. - */ - -#include <curl/curlbuild.h> - -/* - * Compile time sanity checks must also be done when building the library. - */ - -#include <curl/curlrules.h> +#include <curl/curl.h> /* * Ensure that no one is using the old SIZEOF_CURL_OFF_T macro |