From 1f3326b1521794ee977df14664264db853a0306f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 29 Mar 2017 14:38:56 +0200 Subject: 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. At a future point when we feel confident system.h is works fairly well, we remove curlbuild.h. --- include/curl/curl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/curl/curl.h') diff --git a/include/curl/curl.h b/include/curl/curl.h index 421152259..103071264 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -35,6 +35,7 @@ #endif #include "curlver.h" /* libcurl version defines */ +#include "system.h" /* determine things run-time */ #include "curlbuild.h" /* libcurl build definitions */ #include "curlrules.h" /* libcurl rules enforcement */ -- cgit v1.2.1