|
38 | 38 | # undef FLT_MANT_DIG |
39 | 39 | # undef DBL_MANT_DIG |
40 | 40 | # undef LDBL_MANT_DIG |
41 | | -# if __STDC_VERSION__ >= 199901L || !defined(__STRICT_ANSI__) || \ |
42 | | - __cplusplus >= 201103L || \ |
43 | | - (__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE)) |
| 41 | +#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \ |
| 42 | + !defined(__STRICT_ANSI__) || \ |
| 43 | + (defined(__cplusplus) && __cplusplus >= 201103L) || \ |
| 44 | + (__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE)) |
44 | 45 | # undef DECIMAL_DIG |
45 | 46 | # endif |
46 | 47 | # undef FLT_DIG |
|
67 | 68 | # undef FLT_MIN |
68 | 69 | # undef DBL_MIN |
69 | 70 | # undef LDBL_MIN |
70 | | -# if __STDC_VERSION__ >= 201112L || !defined(__STRICT_ANSI__) || \ |
71 | | - __cplusplus >= 201703L || \ |
72 | | - (__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE)) |
| 71 | +#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || \ |
| 72 | + !defined(__STRICT_ANSI__) || \ |
| 73 | + (defined(__cplusplus) && __cplusplus >= 201703L) || \ |
| 74 | + (__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE)) |
73 | 75 | # undef FLT_TRUE_MIN |
74 | 76 | # undef DBL_TRUE_MIN |
75 | 77 | # undef LDBL_TRUE_MIN |
|
92 | 94 | #define DBL_MANT_DIG __DBL_MANT_DIG__ |
93 | 95 | #define LDBL_MANT_DIG __LDBL_MANT_DIG__ |
94 | 96 |
|
95 | | -#if __STDC_VERSION__ >= 199901L || !defined(__STRICT_ANSI__) || \ |
96 | | - __cplusplus >= 201103L || \ |
| 97 | +#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \ |
| 98 | + !defined(__STRICT_ANSI__) || \ |
| 99 | + (defined(__cplusplus) && __cplusplus >= 201103L) || \ |
97 | 100 | (__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE)) |
98 | 101 | # define DECIMAL_DIG __DECIMAL_DIG__ |
99 | 102 | #endif |
|
130 | 133 | #define DBL_MIN __DBL_MIN__ |
131 | 134 | #define LDBL_MIN __LDBL_MIN__ |
132 | 135 |
|
133 | | -#if __STDC_VERSION__ >= 201112L || !defined(__STRICT_ANSI__) || \ |
134 | | - __cplusplus >= 201703L || \ |
| 136 | +#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || \ |
| 137 | + !defined(__STRICT_ANSI__) || \ |
| 138 | + (defined(__cplusplus) && __cplusplus >= 201703L) || \ |
135 | 139 | (__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE)) |
136 | 140 | # define FLT_TRUE_MIN __FLT_DENORM_MIN__ |
137 | 141 | # define DBL_TRUE_MIN __DBL_DENORM_MIN__ |
|
0 commit comments