From a82ba03b6ff449bdfdae4ad360c2ab59bda09ef4 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 26 Feb 2011 18:28:19 +0100 Subject: add UCLIBC_STRICT_HEADERS config option 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 --- extra/Configs/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index f152a9666..15da168d5 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -657,6 +657,17 @@ config UCLIBC_SUSV4_LEGACY 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 -- cgit v1.2.3