File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 49
49
50
50
#ifndef _MSC_VER
51
51
52
- /* Note that this header's correct operation depends on __STDC_LIMIT_MACROS
53
- being defined. We would define it here, but in order to prevent Bad Things
54
- happening when system headers or C++ STL headers include stdint.h before we
55
- define it here, we define it on the g++ command line (in Makefile.rules). */
56
- #if !defined(__STDC_LIMIT_MACROS )
57
- # error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
52
+ #if !defined(UINT32_MAX )
53
+ # error "The standard header <cstdint> is not C++11 compliant. Must #define "\
54
+ "__STDC_LIMIT_MACROS before #including Support/DataTypes.h"
58
55
#endif
59
56
60
- #if !defined(__STDC_CONSTANT_MACROS )
61
- # error "Must #define __STDC_CONSTANT_MACROS before " \
62
- "#including Support/DataTypes.h"
57
+ #if !defined(UINT32_C )
58
+ # error "The standard header <cstdint> is not C++11 compliant. Must #define " \
59
+ "__STDC_CONSTANT_MACROS before #including Support/DataTypes.h"
63
60
#endif
64
61
65
62
/* Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. */
You can’t perform that action at this time.
0 commit comments