diff --git a/.github/workflows/alt-architectures.yml b/.github/workflows/alt-architectures.yml index 29c508f6f..a57bd5431 100644 --- a/.github/workflows/alt-architectures.yml +++ b/.github/workflows/alt-architectures.yml @@ -97,7 +97,6 @@ jobs: -DCMAKE_INSTALL_PREFIX=/tmp/ci-test \ -DCMAKE_C_COMPILER=/usr/bin/clang \ -DCMAKE_CXX_COMPILER=/usr/bin/clang++ \ - -DUSE_UNWIND=OFF \ -DUSE_EXECINFO=OFF \ -DWITH_SANITIZE_ADDRESS=OFF cmake --build ci-build --parallel $(nproc) --target install diff --git a/winpr/libwinpr/utils/unwind/debug.c b/winpr/libwinpr/utils/unwind/debug.c index c725c8bc2..46c7b4be3 100644 --- a/winpr/libwinpr/utils/unwind/debug.c +++ b/winpr/libwinpr/utils/unwind/debug.c @@ -70,15 +70,15 @@ static const char* unwind_reason_str(_Unwind_Reason_Code code) #else case _URC_NO_REASON: return "_URC_NO_REASON"; -#endif - case _URC_FOREIGN_EXCEPTION_CAUGHT: - return "_URC_FOREIGN_EXCEPTION_CAUGHT"; case _URC_FATAL_PHASE2_ERROR: return "_URC_FATAL_PHASE2_ERROR"; case _URC_FATAL_PHASE1_ERROR: return "_URC_FATAL_PHASE1_ERROR"; case _URC_NORMAL_STOP: return "_URC_NORMAL_STOP"; +#endif + case _URC_FOREIGN_EXCEPTION_CAUGHT: + return "_URC_FOREIGN_EXCEPTION_CAUGHT"; case _URC_END_OF_STACK: return "_URC_END_OF_STACK"; case _URC_HANDLER_FOUND: