Skip to content

Commit

Permalink
[libunwind][WebAssembly] Fix libunwind.cpp guard (#78230)
Browse files Browse the repository at this point in the history
This should have been `&&`, meaning neither SjLj nor Wasm uses this
file.
  • Loading branch information
aheejin committed Jan 16, 2024
1 parent d499df0 commit 4967d98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libunwind/src/libunwind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <sanitizer/asan_interface.h>
#endif

#if !defined(__USING_SJLJ_EXCEPTIONS__) || !defined(__USING_WASM_EXCEPTIONS__)
#if !defined(__USING_SJLJ_EXCEPTIONS__) && !defined(__USING_WASM_EXCEPTIONS__)
#include "AddressSpace.hpp"
#include "UnwindCursor.hpp"

Expand Down Expand Up @@ -347,7 +347,7 @@ void __unw_remove_dynamic_eh_frame_section(unw_word_t eh_frame_start) {
}

#endif // defined(_LIBUNWIND_SUPPORT_DWARF_UNWIND)
#endif // !defined(__USING_SJLJ_EXCEPTIONS__) ||
#endif // !defined(__USING_SJLJ_EXCEPTIONS__) &&
// !defined(__USING_WASM_EXCEPTIONS__)

#ifdef __APPLE__
Expand Down

0 comments on commit 4967d98

Please sign in to comment.