[PSEH] Add implementation for GCC amd64
authorJérôme Gardou <jerome.gardou@reactos.org>
Thu, 22 Apr 2021 09:11:34 +0000 (11:11 +0200)
committerJérôme Gardou <zefklop@users.noreply.github.com>
Wed, 28 Apr 2021 11:10:23 +0000 (13:10 +0200)
commitba74a05a1761691ff4cc20cd6e1804cb375c1e36
treef31a20810b559b099b22627399c1caaa1077bb28
parentd31856cda15b477ab597c039f782df97b208c805
[PSEH] Add implementation for GCC amd64

Also, put include directory next to the library and use
target_include_directories(.. INTERFACE ..) to get this right.
This is because :
 - Having includes & implementation in two different places buggers me
 - This makes sure that there is no "if it compiles everything is fine" behaviour from anyone
   because now even static libraries need it for GCC amd64 build
Also add __USE_PSEH2__ define for the non SEH-aware compilers out there and use it in a few headers
where we define macros involving __try
14 files changed:
modules/rostests/apitests/include/apitest.h
sdk/cmake/host-tools.cmake
sdk/include/psdk/rpc.h
sdk/include/reactos/libs/pseh/pseh2_64.h [deleted file]
sdk/include/reactos/wine/exception.h
sdk/lib/pseh/CMakeLists.txt
sdk/lib/pseh/include/pseh/excpt.h [moved from sdk/include/reactos/libs/pseh/excpt.h with 100% similarity]
sdk/lib/pseh/include/pseh/framebased.h [moved from sdk/include/reactos/libs/pseh/framebased.h with 100% similarity]
sdk/lib/pseh/include/pseh/framebased/internal.h [moved from sdk/include/reactos/libs/pseh/framebased/internal.h with 100% similarity]
sdk/lib/pseh/include/pseh/pseh.h [moved from sdk/include/reactos/libs/pseh/pseh.h with 100% similarity]
sdk/lib/pseh/include/pseh/pseh2.h [moved from sdk/include/reactos/libs/pseh/pseh2.h with 99% similarity]
sdk/lib/pseh/include/pseh/pseh2_64.h [new file with mode: 0644]
sdk/lib/pseh/include/pseh/pseh3.h [moved from sdk/include/reactos/libs/pseh/pseh3.h with 100% similarity]
sdk/tools/CMakeLists.txt