mirror of https://github.com/acidanthera/audk.git
StdLib: Add STDC macros, for MSFT compilers, to improve compatibility with various Open-Source software packages.
Defines __STDC__, __STDC_VERSION__, and __STDC_HOSTED as specified by ISO/IEC 9899. Signed-off-by: daryl.mcdaniel@intel.com Reviewed-by: jordan.l.justen@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13153 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1413b8e94b
commit
b26913ef0e
|
@ -336,6 +336,11 @@
|
|||
|
||||
// Keep compiler quiet about casting from smaller to larger types
|
||||
#pragma warning ( disable : 4306 )
|
||||
|
||||
#define __STDC__ 1
|
||||
#define __STDC_VERSION__ 199409L
|
||||
#define __STDC_HOSTED__ 1
|
||||
|
||||
#endif /* defined(_MSC_VER) */
|
||||
extern int _fltused; // VC++ requires this if you use floating point. KEEP for all compilers.
|
||||
|
||||
|
|
Loading…
Reference in New Issue