gcc/ginclude/stdint-wrap.h
raw| 1 | #ifndef _GCC_WRAP_STDINT_H |
| 2 | #if __STDC_HOSTED__ |
| 3 | # if defined __cplusplus && __cplusplus >= 201103L |
| 4 | # undef __STDC_LIMIT_MACROS |
| 5 | # define __STDC_LIMIT_MACROS |
| 6 | # undef __STDC_CONSTANT_MACROS |
| 7 | # define __STDC_CONSTANT_MACROS |
| 8 | # endif |
| 9 | #pragma GCC diagnostic push |
| 10 | #pragma GCC diagnostic ignored "-Wpedantic" // include_next |
| 11 | # include_next <stdint.h> |
| 12 | #pragma GCC diagnostic pop |
| 13 | #else |
| 14 | # include "stdint-gcc.h" |
| 15 | #endif |
| 16 | #define _GCC_WRAP_STDINT_H |
| 17 | #endif |