mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
Add __MINGW_EXTENSION to _mingw.h to suppress warnings for unnamed struct/union and the use of 'long long' in ISO C/C++.
svn path=/branches/header-work/; revision=45719
This commit is contained in:
parent
520bd868e4
commit
6153abb607
1 changed files with 8 additions and 0 deletions
|
@ -135,6 +135,14 @@
|
|||
/* TODO: Mark (almost) all CRT functions as __MINGW_NOTHROW. This will
|
||||
allow GCC to optimize away some EH unwind code, at least in DW2 case. */
|
||||
|
||||
#ifndef __MINGW_EXTENSION
|
||||
#if defined(__GNUC__) || defined(__GNUG__)
|
||||
#define __MINGW_EXTENSION __extension__
|
||||
#else
|
||||
#define __MINGW_EXTENSION
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __MSVCRT_VERSION__
|
||||
/* High byte is the major version, low byte is the minor. */
|
||||
# define __MSVCRT_VERSION__ 0x0700
|
||||
|
|
Loading…
Reference in a new issue