OSDN Git Service

add UCLIBC_STRICT_HEADERS config option
authorPeter S. Mazinger <ps.m@gmx.net>
Sat, 26 Feb 2011 17:28:19 +0000 (18:28 +0100)
committerPeter S. Mazinger <ps.m@gmx.net>
Thu, 3 Mar 2011 17:22:47 +0000 (18:22 +0100)
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>
extra/Configs/Config.in

index f152a96..15da168 100644 (file)
@@ -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