Skip to content

Commit 0a6f54b

Browse files
authored
Replace __EMSCRIPTEN__ with __wasm__ in libunwind (#20128)
This is not specific to Emscripten and may be used with other Wasm libraries, e.g., WASI.
1 parent 86fa8e5 commit 0a6f54b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/lib/libunwind/src/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
SYMBOL_NAME(name))) \
9999
extern "C" _LIBUNWIND_EXPORT __typeof(name) aliasname;
100100
#endif
101-
#elif defined(__EMSCRIPTEN__)
101+
#elif defined(__wasm__)
102102
#else
103103
#error Unsupported target
104104
#endif

0 commit comments

Comments
 (0)