mirror of
https://github.com/reactos/reactos.git
synced 2024-11-26 21:13:30 +08:00
[VCRUNTIME] stdint.h: Update include guard for MIN/MAX macros
Include MIN/MAX macros for C++11 and above without the need to define __STDC_LIMIT_MACROS. This is what mingw uses.
This commit is contained in:
parent
e5633f656f
commit
53d3cc5f3f
@ -69,7 +69,8 @@ __MINGW_EXTENSION typedef long long intmax_t;
|
||||
__MINGW_EXTENSION typedef unsigned long long uintmax_t;
|
||||
|
||||
/* 7.18.2 Limits of specified-width integer types */
|
||||
#if !defined ( __cplusplus) || defined (__STDC_LIMIT_MACROS)
|
||||
#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) || \
|
||||
defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
|
||||
|
||||
/* 7.18.2.1 Limits of exact-width integer types */
|
||||
#define INT8_MIN (-128)
|
||||
|
Loading…
Reference in New Issue
Block a user