diff --git a/reactos/cmake/gcc.cmake b/reactos/cmake/gcc.cmake index 35ca75ad22b..adee7f7eb6f 100644 --- a/reactos/cmake/gcc.cmake +++ b/reactos/cmake/gcc.cmake @@ -91,6 +91,11 @@ elseif(ARCH STREQUAL "amd64") add_compile_flags("-mpreferred-stack-boundary=4") endif() +# PSEH +if(GCC_VERSION VERSION_GREATER 4.7) + set(USE_PSEH3 1) +endif() + # Other if(ARCH STREQUAL "amd64") add_definitions(-U_X86_ -UWIN32)