diff options
Diffstat (limited to 'src/compiler-support.h')
-rw-r--r-- | src/compiler-support.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/compiler-support.h b/src/compiler-support.h index 5f3edacea..eddb2d7f0 100644 --- a/src/compiler-support.h +++ b/src/compiler-support.h @@ -31,14 +31,6 @@ #define WASM_BUILTIN_UNREACHABLE __assume(false) #endif -#ifdef __GNUC__ -#define WASM_NORETURN __attribute__((noreturn)) -#elif defined(_MSC_VER) -#define WASM_NORETURN __declspec(noreturn) -#else -#define WASM_NORETURN -#endif - // The code might contain TODOs or stubs that read some values but do nothing // with them. The compiler might fail with [-Werror,-Wunused-variable]. // The WASM_UNUSED(varible) is a wrapper that helps to suppress the error. |