mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:02:59 +00:00
[REACTOS] Explicitly link against pseh & include pseh headers in a few places
This commit is contained in:
parent
37bc01f42b
commit
e470b58376
50 changed files with 103 additions and 23 deletions
|
@ -20,10 +20,7 @@ list(APPEND SOURCE
|
|||
${CMAKE_CURRENT_BINARY_DIR}/svcctl_s.c)
|
||||
|
||||
add_executable(services ${SOURCE} services.rc)
|
||||
|
||||
if(NOT MSVC)
|
||||
target_link_libraries(services ${PSEH_LIB})
|
||||
endif()
|
||||
target_link_libraries(services ${PSEH_LIB})
|
||||
|
||||
set_module_type(services win32gui UNICODE)
|
||||
add_importlibs(services userenv user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#include <winnls.h>
|
||||
#include <strsafe.h>
|
||||
|
||||
#include <pseh/pseh2.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue