mirror of
				https://github.com/acidanthera/audk.git
				synced 2025-11-04 05:25:45 +01:00 
			
		
		
		
	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
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.7 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 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
 |