mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[MSV1_0] use precompiled headers (#2475)
This commit is contained in:
parent
99f9c1666d
commit
2d36be4963
4 changed files with 40 additions and 34 deletions
|
@ -3,14 +3,15 @@ spec2def(msv1_0.dll msv1_0.spec)
|
|||
|
||||
list(APPEND SOURCE
|
||||
msv1_0.c
|
||||
msv1_0.rc
|
||||
precomp.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/msv1_0_stubs.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/msv1_0.def)
|
||||
|
||||
add_library(msv1_0 MODULE ${SOURCE})
|
||||
add_library(msv1_0 MODULE ${SOURCE} msv1_0.rc)
|
||||
set_module_type(msv1_0 win32dll UNICODE ENTRYPOINT 0)
|
||||
target_link_libraries(msv1_0 wine ${PSEH_LIB})
|
||||
add_delay_importlibs(msv1_0 samsrv lsasrv)
|
||||
add_importlibs(msv1_0 advapi32 kernel32 ntdll)
|
||||
add_dependencies(msv1_0 psdk)
|
||||
add_pch(msv1_0 precomp.h SOURCE)
|
||||
add_cd_file(TARGET msv1_0 DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
/* INCLUDES ****************************************************************/
|
||||
|
||||
#include "msv1_0.h"
|
||||
#include "precomp.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(msv1_0);
|
||||
|
||||
|
|
|
@ -6,37 +6,6 @@
|
|||
* COPYRIGHT: Copyright 2013 Eric Kohl
|
||||
*/
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
#include <stdarg.h>
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winreg.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ndk/cmfuncs.h>
|
||||
#include <ndk/kefuncs.h>
|
||||
#include <ndk/lpctypes.h>
|
||||
#include <ndk/lpcfuncs.h>
|
||||
#include <ndk/mmfuncs.h>
|
||||
#include <ndk/obfuncs.h>
|
||||
#include <ndk/psfuncs.h>
|
||||
#include <ndk/rtlfuncs.h>
|
||||
#include <ndk/setypes.h>
|
||||
#include <ndk/sefuncs.h>
|
||||
|
||||
#include <sspi.h>
|
||||
#include <ntsecapi.h>
|
||||
#include <ntsecpkg.h>
|
||||
#include <ntsam.h>
|
||||
#include <ntlsa.h>
|
||||
|
||||
#include <samsrv/samsrv.h>
|
||||
//#include <lsass/lsasrv.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
|
||||
#define FIXUP_POINTER(Pointer, Offset) ((Pointer != NULL) ? ((PWSTR)((ULONG_PTR)Pointer + Offset)) : NULL)
|
||||
|
||||
|
||||
|
|
36
dll/win32/msv1_0/precomp.h
Normal file
36
dll/win32/msv1_0/precomp.h
Normal file
|
@ -0,0 +1,36 @@
|
|||
#ifndef _MSV1_0_PRECOMP_H_
|
||||
#define _MSV1_0_PRECOMP_H_
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
#include <stdarg.h>
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winreg.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ndk/cmfuncs.h>
|
||||
#include <ndk/kefuncs.h>
|
||||
#include <ndk/lpctypes.h>
|
||||
#include <ndk/lpcfuncs.h>
|
||||
#include <ndk/mmfuncs.h>
|
||||
#include <ndk/obfuncs.h>
|
||||
#include <ndk/psfuncs.h>
|
||||
#include <ndk/rtlfuncs.h>
|
||||
#include <ndk/setypes.h>
|
||||
#include <ndk/sefuncs.h>
|
||||
|
||||
#include <sspi.h>
|
||||
#include <ntsecapi.h>
|
||||
#include <ntsecpkg.h>
|
||||
#include <ntsam.h>
|
||||
#include <ntlsa.h>
|
||||
|
||||
#include <samsrv/samsrv.h>
|
||||
//#include <lsass/lsasrv.h>
|
||||
|
||||
#include "msv1_0.h"
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue