]>
Commit | Line | Data |
---|---|---|
a95cc905 BN |
1 | --- a/expected/wasm32-wasi/posix/predefined-macros.txt |
2 | +++ b/expected/wasm32-wasi/posix/predefined-macros.txt | |
3 | @@ -1119,7 +1119,6 @@ | |
4 | #define NAN (0.0f/0.0f) | |
5 | #define NBBY 8 | |
6 | #define NCARGS 131072 | |
7 | -#define NDEBUG 1 | |
8 | #define ND_NA_FLAG_OVERRIDE 0x00000020 | |
9 | #define ND_NA_FLAG_ROUTER 0x00000080 | |
10 | #define ND_NA_FLAG_SOLICITED 0x00000040 | |
11 | @@ -3113,7 +3112,7 @@ | |
12 | #define and_eq &= | |
13 | #define asin(x) __tg_real_complex(asin, (x)) | |
14 | #define asinh(x) __tg_real_complex(asinh, (x)) | |
15 | -#define assert(x) (void)0 | |
16 | +#define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))) | |
17 | #define atan(x) __tg_real_complex(atan, (x)) | |
18 | #define atan2(x,y) __tg_real_2(atan2, (x), (y)) | |
19 | #define atanh(x) __tg_real_complex(atanh, (x)) | |
20 | --- a/expected/wasm32-wasi/single/predefined-macros.txt | |
21 | +++ b/expected/wasm32-wasi/single/predefined-macros.txt | |
22 | @@ -1119,7 +1119,6 @@ | |
72e32bfb XL |
23 | #define NAN (0.0f/0.0f) |
24 | #define NBBY 8 | |
25 | #define NCARGS 131072 | |
26 | -#define NDEBUG 1 | |
27 | #define ND_NA_FLAG_OVERRIDE 0x00000020 | |
28 | #define ND_NA_FLAG_ROUTER 0x00000080 | |
29 | #define ND_NA_FLAG_SOLICITED 0x00000040 | |
a4d96d99 | 30 | @@ -3073,7 +3072,7 @@ |
72e32bfb XL |
31 | #define and_eq &= |
32 | #define asin(x) __tg_real_complex(asin, (x)) | |
33 | #define asinh(x) __tg_real_complex(asinh, (x)) | |
34 | -#define assert(x) (void)0 | |
35 | +#define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))) | |
36 | #define atan(x) __tg_real_complex(atan, (x)) | |
37 | #define atan2(x,y) __tg_real_2(atan2, (x), (y)) | |
38 | #define atanh(x) __tg_real_complex(atanh, (x)) |