diff options
author | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-03 00:01:24 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-03 00:01:24 +0000 |
commit | 5c5e4a12de6b568c1f460b71b6d2399069bf12f1 (patch) | |
tree | 91e4ac573f52eed1866e45c94d266b7c3c5690c8 /StdLibPrivateInternalFiles | |
parent | c84d88fa7cc296838fc88392878869fc968e5ca3 (diff) | |
download | edk2-5c5e4a12de6b568c1f460b71b6d2399069bf12f1.zip edk2-5c5e4a12de6b568c1f460b71b6d2399069bf12f1.tar.gz edk2-5c5e4a12de6b568c1f460b71b6d2399069bf12f1.tar.bz2 |
StdLib: Revise the meaning of several feature macros.
Feature macros, defined in StdLibPrivateInternalFiles/Include/LibConfig.h are defined to cause the named feature to be included. When originally added, several features were guarded using reversed logic.
Signed-off-by: darylm503
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12652 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLibPrivateInternalFiles')
-rw-r--r-- | StdLibPrivateInternalFiles/Include/LibConfig.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/StdLibPrivateInternalFiles/Include/LibConfig.h b/StdLibPrivateInternalFiles/Include/LibConfig.h index d925ac3..c0299b3 100644 --- a/StdLibPrivateInternalFiles/Include/LibConfig.h +++ b/StdLibPrivateInternalFiles/Include/LibConfig.h @@ -36,16 +36,19 @@ /* Define these if the associated file exists. */
//#define HAVE_NBTOOL_CONFIG_H
-/* Define these if StdLib provides the functionality as opposed to a "compatibility" library */
+/* Define these macros in order to enable the associated functions. */
+#define HAVE_BASENAME
+#define HAVE_FFS
+#define HAVE_GETTIMEOFDAY
+#define HAVE_DIRNAME
+#define HAVE_SETPROGNAME 1
+
+
+/* Define these if StdLib provides the functionality as opposed to a "compatibility" library */
//#define HAVE_GETOPT
-//#define HAVE_BASENAME
-//#define HAVE_FFS
-//#define HAVE_GETTIMEOFDAY
-//#define HAVE_SETPROGNAME 0
//#define HAVE_STRLCPY
//#define HAVE_STRLCAT
-//#define HAVE_DIRNAME
#define HAVE_MKSTEMP
#define HAVE_SNPRINTF
#define HAVE_VSNPRINTF
|