https://git.reactos.org/?p=reactos.git;a=commitdiff;h=349e0ddde89e8df05f18a9...
commit 349e0ddde89e8df05f18a9f9e9e974cccb58628a Author: Hervé Poussineau hpoussin@reactos.org AuthorDate: Sat Jan 30 23:04:44 2021 +0100 Commit: Hervé Poussineau hpoussin@reactos.org CommitDate: Mon Feb 1 19:57:12 2021 +0100
[PSEH] Fix test on non-existent variable, so GCC x64 now always uses native SEH instead of PSEH --- sdk/lib/pseh/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/lib/pseh/CMakeLists.txt b/sdk/lib/pseh/CMakeLists.txt index 0f64bf0cf95..ae121a820a7 100644 --- a/sdk/lib/pseh/CMakeLists.txt +++ b/sdk/lib/pseh/CMakeLists.txt @@ -12,7 +12,7 @@ elseif(ARCH STREQUAL "arm") arm/seh_prolog.s) endif()
-if(MSVC OR (GCC AND ARCH STREQUAL "amd64")) +if(MSVC OR (CMAKE_C_COMPILER_ID STREQUAL "GNU" AND ARCH STREQUAL "amd64"))
list(APPEND SOURCE dummy.c) add_asm_files(pseh_asm ${ASM_SOURCE})