curl/projects
Viktor Szakats 1671ebd975
build: drop superfluous STDC_HEADERS macro
It is traditionally defined by autotools to detect the presence of set
of standard C89 headers. autoconf 2.70 (2020-12-08) reduced the headers
covered to `stdlib.h`, `string.h`. After 2.59d (2006-06-05) obsoleting
it earlier. CMake replicated this detection, and curl included
`curl/stdcheaders.h` if standard headers were missing. However, such
condition could never happen because curl sources already assume all
checked standard headers (`stdarg.h`, `stdlib.h`, `string.h`) and
include them unconditionally.

Since this is an unused feature detection and an impossible fallback
path, drop them from CMake and curl's source. autotools continues to do
the detection by default, but its result is unused after this patch.

This leaves public `curl/stdcheaders.h` unused from within the codebase.

Refs:
f0c7c42553
86c213d0e3

Follow-up to 65dae4ad80 #22191
Follow-up to 4c5307b456
Ref: ae1912cb0d

Closes #22206
2026-06-29 11:11:16 +02:00
..
OS400 tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
vms build: drop superfluous STDC_HEADERS macro 2026-06-29 11:11:16 +02:00
Windows tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
Makefile.am autotools: limit checksrc target to ignore non-repo test sources 2026-03-12 01:45:24 +01:00
README.md tidy-up: miscellaneous 2026-01-15 13:06:13 +01:00

Packages

This directory and all its subdirectories are for special package information, templates, scripts and docs. The files herein should be of use for those of you who want to package curl in a binary or source format for these platforms.