Add config option to disable the visibility of structures/constants
that should not be visible unless a feature is enabled.
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
WARNING! ABI incompatibility.
+config UCLIBC_STRICT_HEADERS
+ bool "Enable structures and constants for unsupported features"
+ default n
+ help
+ Enable structures and constants in headers that should not be used,
+ because the respective feature is disabled.
+
+ WARNING! enabling this option requires to patch many faulty apps,
+ since they make (wrongly) use of these structures/constants,
+ although the feature was disabled.
+
config UCLIBC_HAS_STUBS
bool "Provide stubs for unavailable functionality"
default n