]> git.ipfire.org Git - thirdparty/curl.git/commit
include: curl/system.h is a run-time version of curlbuild.h
authorDaniel Stenberg <daniel@haxx.se>
Wed, 29 Mar 2017 12:38:56 +0000 (14:38 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Apr 2017 21:24:39 +0000 (23:24 +0200)
commit9506d01ee50d5908138ebad0fd9fbd39b66bd64d
tree9ac9aa6db354d2d98406fabf6e589a89d4d8c692
parent5f1163517e1597339d980b6504dbbece43c7027c
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
include/curl/Makefile.am
include/curl/curl.h
include/curl/curlrules.h
include/curl/system.h [new file with mode: 0644]
lib/curl_setup.h
tests/data/Makefile.inc
tests/data/test1541 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1541.c [new file with mode: 0644]