]> git.proxmox.com Git - mirror_edk2.git/blame - StdLibPrivateInternalFiles/Include/LibConfig.h
StdLib: Add multi-byte character support. The normal "narrow" character set is now...
[mirror_edk2.git] / StdLibPrivateInternalFiles / Include / LibConfig.h
CommitLineData
2aa62f2b 1/** @file\r
2 Global Configuration macros for configuring how LibC is built.\r
3\r
4 This file must be included at the beginning of every C file in the\r
5 library, and before any of the Standard C header files are included.\r
6\r
7 The configuration, as distributed in this file, is the only configuration\r
8 these libraries have been tested with. Changing this configuration may\r
9 produce code that will not build or may not run. Change at your own risk.\r
10\r
f766dd76 11 Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
2aa62f2b 12 This program and the accompanying materials are licensed and made available under\r
13 the terms and conditions of the BSD License that accompanies this distribution.\r
14 The full text of the license may be found at\r
f766dd76 15 http://opensource.org/licenses/bsd-license.\r
2aa62f2b 16\r
17 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
18 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
19**/\r
20\r
21#define _LIBC 1\r
22#define NLS 1\r
23#define NO_FENV_H 1\r
24#define NO_HEX_FP 1\r
25#define No_Hex_NaN 1\r
26#define ALL_STATE 1\r
27#define USG_COMPAT 1\r
28#define _IEEE_LIBM 1\r
29\r
30#undef WITH_RUNE\r
f766dd76 31\r
32#if defined(__GNUC__)\r
33 #define REAL_LONG_DOUBLE_SUPPORT 1\r
34#endif\r
35\r
36/* Define these if the associated file exists. */\r
37//#define HAVE_NBTOOL_CONFIG_H\r
38\r
f766dd76 39\r
5c5e4a12 40/* Define these macros in order to enable the associated functions. */\r
41#define HAVE_BASENAME\r
42#define HAVE_FFS\r
43#define HAVE_GETTIMEOFDAY\r
44#define HAVE_DIRNAME\r
45#define HAVE_SETPROGNAME 1\r
46\r
47\r
48/* Define these if StdLib provides the functionality as opposed to a "compatibility" library */\r
f766dd76 49//#define HAVE_GETOPT\r
f766dd76 50//#define HAVE_STRLCPY\r
51//#define HAVE_STRLCAT\r
f766dd76 52#define HAVE_MKSTEMP\r
53#define HAVE_SNPRINTF\r
54#define HAVE_VSNPRINTF\r
55\r
56//#define USE_8BIT_CHARS\r