mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-10-26 20:22:34 +00:00 
			
		
		
		
	 5c5e4a12de
			
		
	
	
		5c5e4a12de
		
	
	
	
	
		
			
			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
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /** @file
 | |
|   Global Configuration macros for configuring how LibC is built.
 | |
| 
 | |
|   This file must be included at the beginning of every C file in the
 | |
|   library, and before any of the Standard C header files are included.
 | |
| 
 | |
|   The configuration, as distributed in this file, is the only configuration
 | |
|   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 - 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.
 | |
| 
 | |
|   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 | |
|   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 | |
| **/
 | |
| 
 | |
| #define _LIBC         1
 | |
| #define NLS           1
 | |
| #define NO_FENV_H     1
 | |
| #define NO_HEX_FP     1
 | |
| #define No_Hex_NaN    1
 | |
| #define ALL_STATE     1
 | |
| #define USG_COMPAT    1
 | |
| #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 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_STRLCPY
 | |
| //#define HAVE_STRLCAT
 | |
| #define HAVE_MKSTEMP
 | |
| #define HAVE_SNPRINTF
 | |
| #define HAVE_VSNPRINTF
 | |
| 
 | |
| //#define USE_8BIT_CHARS
 |