mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +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
|
@ -12,6 +12,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <advapi32.h>
|
||||
#include <pseh/pseh2.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
|
||||
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ add_library(kernel32_shared
|
|||
client/shared_utils.c
|
||||
client/file/fileutils.c
|
||||
)
|
||||
|
||||
target_link_libraries(kernel32_shared PRIVATE pseh)
|
||||
add_dependencies(kernel32_shared psdk)
|
||||
|
||||
list(APPEND SOURCE
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
#include "lsasrv.h"
|
||||
|
||||
#include <pseh/pseh2.h>
|
||||
|
||||
/* GLOBALS *****************************************************************/
|
||||
|
||||
static HANDLE SecurityKeyHandle = NULL;
|
||||
|
|
|
@ -10,6 +10,6 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(olecli32 MODULE ${SOURCE})
|
||||
set_module_type(olecli32 win32dll)
|
||||
target_link_libraries(olecli32 wine)
|
||||
target_link_libraries(olecli32 wine ${PSEH_LIB})
|
||||
add_importlibs(olecli32 ole32 gdi32 msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET olecli32 DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
#include "samsrv.h"
|
||||
|
||||
#include <pseh/pseh2.h>
|
||||
|
||||
/* GLOBALS *****************************************************************/
|
||||
|
||||
static HANDLE SamKeyHandle = NULL;
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
#include <pnp_c.h>
|
||||
#include <winsvc.h>
|
||||
|
||||
#include <pseh/pseh2.h>
|
||||
|
||||
#include "rpc_private.h"
|
||||
|
||||
DWORD
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
|
||||
#include "setupapi_private.h"
|
||||
|
||||
#include <pseh/pseh2.h>
|
||||
|
||||
/* Unicode constants */
|
||||
static const WCHAR BackSlash[] = {'\\',0};
|
||||
static const WCHAR DateFormat[] = {'%','u','-','%','u','-','%','u',0};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue