0
0
mirror of https://github.com/sqlite/sqlite.git synced 2024-11-21 19:29:09 +01:00

Use (cc-with {-includes stdint.h}) when checking for the various int types because, despite it being C99, it turns out that we do indeed use it if it's available.

FossilOrigin-Name: 51a9278134b5b9093c92c7036cc91b823f30dd36f677f2335927854744225024
This commit is contained in:
stephan 2024-10-25 23:25:49 +00:00
parent cbb182fef2
commit d045b42854
3 changed files with 11 additions and 10 deletions

View File

@ -389,8 +389,9 @@ cc-check-lfs
#
# Check for needed/wanted data types
cc-check-types int8_t int16_t int32_t int64_t intptr_t \
uint8_t uint16_t uint32_t uint64_t uintptr_t
cc-with {-includes stdint.h} \
{cc-check-types int8_t int16_t int32_t int64_t intptr_t \
uint8_t uint16_t uint32_t uint64_t uintptr_t}
#
# Check for needed/wanted functions
@ -407,7 +408,7 @@ cc-check-includes \
sys/types.h sys/stat.h dlfcn.h unistd.h \
stdlib.h malloc.h memory.h \
string.h strings.h \
stdint.h inttypes.h
inttypes.h
# These are optional for JimTCL but necessary if we want to use it for
# code generation:

View File

@ -1,5 +1,5 @@
C When\s--with-tclsh=X\sis\sused,\suse\sX\sfor\sall\sTCL\spurposes,\sincluding\sin-tree\scode\sgeneration,\sper\sdeveloper\srequest.
D 2024-10-25T23:13:12.897
C Use\s(cc-with\s{-includes\sstdint.h})\swhen\schecking\sfor\sthe\svarious\sint\stypes\sbecause,\sdespite\sit\sbeing\sC99,\sit\sturns\sout\sthat\swe\sdo\sindeed\suse\sit\sif\sit's\savailable.
D 2024-10-25T23:25:49.980
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
F LICENSE.md b6e6c1baf38e4339bd3f1e0e5e5bfd0a9a93d133360691b2785c2d4b2f2dcec2
@ -13,7 +13,7 @@ F art/icon-80x90.gif 65509ce3e5f86a9cd64fe7fca2d23954199f31fe44c1e09e208c80fb83d
F art/sqlite370.eps aa97a671332b432a54e1d74ff5e8775be34200c2
F art/sqlite370.ico af56c1d00fee7cd4753e8631ed60703ed0fc6e90
F art/sqlite370.jpg d512473dae7e378a67e28ff96a34da7cb331def2
F auto.def 6f81ce2f8d9dfa59d4fa9ea423e9e3228be41e23a63f457472d28b7e267d99cd
F auto.def d7401a7cec04aa6a71c3a7c1faa89494f091917307a4b1b7a6d423e81a348010
F autoconf/INSTALL 83e4a25da9fd053c7b3665eaaaf7919707915903
F autoconf/Makefile.am adedc1324b6a87fdd1265ddd336d2fb7d4f36a0e77b86ea553ae7cc4ea239347
F autoconf/Makefile.fallback 22fe523eb36dfce31e0f6349f782eb084e86a5620b2b0b4f84a2d6133f53f5ac
@ -2237,8 +2237,8 @@ F vsixtest/vsixtest.tcl 6195aba1f12a5e10efc2b8c0009532167be5e301abe5b31385638080
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P ffdce13deb8a1fbce717da9ca44fd34409bedad4db805722100647372c06f4f5
R 547a5fbc8c084efef7911861f5f974f8
P 12498e55c0c689f43c78002fb850a58dda337feae51194b9cade7f5dff15e833
R f62edb16995e026ea7ba97df69933436
U stephan
Z ecd9048bff7dc4b2fb9935c4a4daef26
Z 76068fe3afa72145f92179b17b78663b
# Remove this line to create a well-formed Fossil manifest.

View File

@ -1 +1 @@
12498e55c0c689f43c78002fb850a58dda337feae51194b9cade7f5dff15e833
51a9278134b5b9093c92c7036cc91b823f30dd36f677f2335927854744225024