Skip to content

Commit

Permalink
Use #warning instead of #warn (#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
binji authored Jul 16, 2020
1 parent 04e8596 commit d214642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm2c/wasm-rt.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ extern "C" {
#if WASM_RT_MEMCHECK_SIGNAL_HANDLER
#if defined(__linux__) || defined(__unix__) || defined(__APPLE__)
#if defined(__WORDSIZE) && __WORDSIZE != 64
#warn "Signal handler is only supported on 64-bit architectures"
#warning "Signal handler is only supported on 64-bit architectures"
#else
#define WASM_RT_MEMCHECK_SIGNAL_HANDLER_POSIX 1
#endif
Expand Down

0 comments on commit d214642

Please sign in to comment.