summaryrefslogtreecommitdiff
path: root/StdLibPrivateInternalFiles/Include/LibConfig.h
diff options
context:
space:
mode:
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-07-30 00:25:54 +0000
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-07-30 00:25:54 +0000
commitf766dd76fde231ecd4f2e9faf99293e90902cebb (patch)
tree38f845277a463deb34006d84ff1651203dfa425a /StdLibPrivateInternalFiles/Include/LibConfig.h
parent84c1b22e843a3af1994e2a938a3685f4874462f9 (diff)
downloadedk2-platforms-f766dd76fde231ecd4f2e9faf99293e90902cebb.tar.xz
Changes so that Argv points to narrow-character versions of the command-line arguments.
Fix "long double" handling and differences between MSFT and GCC compilers. Fix compliance issues with ISO/IEC 9899:199409 New Function declarations: setenv(), fparseln(), GetFileNameFromPath(), rename() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12060 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLibPrivateInternalFiles/Include/LibConfig.h')
-rw-r--r--StdLibPrivateInternalFiles/Include/LibConfig.h27
1 files changed, 25 insertions, 2 deletions
diff --git a/StdLibPrivateInternalFiles/Include/LibConfig.h b/StdLibPrivateInternalFiles/Include/LibConfig.h
index 67f49c244b..d925ac3258 100644
--- a/StdLibPrivateInternalFiles/Include/LibConfig.h
+++ b/StdLibPrivateInternalFiles/Include/LibConfig.h
@@ -8,11 +8,11 @@
these libraries have been tested with. Changing this configuration may
produce code that will not build or may not run. Change at your own risk.
- Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php.
+ http://opensource.org/licenses/bsd-license.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@@ -28,3 +28,26 @@
#define _IEEE_LIBM 1
#undef WITH_RUNE
+
+#if defined(__GNUC__)
+ #define REAL_LONG_DOUBLE_SUPPORT 1
+#endif
+
+/* 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 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
+
+//#define USE_8BIT_CHARS