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