mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 06:45:24 +00:00
[WS2_32_NEW][WS2HELP]
* Add PCHs. svn path=/trunk/; revision=53168
This commit is contained in:
parent
a632188d3a
commit
0c577da443
7 changed files with 10 additions and 7 deletions
|
@ -48,8 +48,8 @@ list(APPEND SOURCE
|
|||
${CMAKE_CURRENT_BINARY_DIR}/ws2_32.def)
|
||||
|
||||
add_library(ws2_32_new SHARED ${SOURCE})
|
||||
|
||||
set_module_type(ws2_32_new win32dll)
|
||||
target_link_libraries(ws2_32_new wine)
|
||||
add_importlibs(ws2_32_new user32 advapi32 dnsapi ws2help msvcrt kernel32 ntdll)
|
||||
add_pch(ws2_32_new inc/ws2_32.h)
|
||||
target_link_libraries(ws2_32_new wine)
|
||||
add_cd_file(TARGET ws2_32_new DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
* PURPOSE: WinSock 2.2 Main Header
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/* Definitions for NDK Usage */
|
||||
#define WIN32_NO_STATUS
|
||||
//#define _WIN32_WINNT 0x502
|
||||
|
@ -28,6 +26,8 @@
|
|||
/* Winsock Helper Header */
|
||||
#include <ws2help.h>
|
||||
|
||||
#include <nsp_dns.h>
|
||||
|
||||
/* Missing definitions */
|
||||
#define SO_OPENTYPE 0x7008
|
||||
#define SO_SYNCHRONOUS_NONALERT 0x20
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
/* INCLUDES ******************************************************************/
|
||||
#include "ws2_32.h"
|
||||
#include <nsp_dns.h>
|
||||
|
||||
//#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
<library>advapi32</library>
|
||||
<library>dnsapi</library>
|
||||
<library>ws2help</library>
|
||||
<directory name="inc">
|
||||
<pch>ws2_32.h</pch>
|
||||
</directory>
|
||||
<directory name="src">
|
||||
<file>addrconv.c</file>
|
||||
<file>addrinfo.c</file>
|
||||
|
|
|
@ -12,8 +12,8 @@ list(APPEND SOURCE
|
|||
${CMAKE_CURRENT_BINARY_DIR}/ws2help.def)
|
||||
|
||||
add_library(ws2help SHARED ${SOURCE})
|
||||
|
||||
set_module_type(ws2help win32dll)
|
||||
add_importlibs(ws2help advapi32 ws2_32 msvcrt kernel32 ntdll)
|
||||
add_pch(ws2help precomp.h)
|
||||
add_cd_file(TARGET ws2help DESTINATION reactos/system32 FOR all)
|
||||
add_importlib_target(ws2help.spec)
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
/* Shared Winsock Helper headers */
|
||||
#include <ws2help.h>
|
||||
#include <wshdrv.h>
|
||||
#include "wshdrv.h"
|
||||
|
||||
/* Missing definition */
|
||||
#define SO_OPENTYPE 0x20
|
||||
|
|
|
@ -11,4 +11,5 @@
|
|||
<file>handle.c</file>
|
||||
<file>notify.c</file>
|
||||
<file>ws2help.rc</file>
|
||||
<pch>precomp.h</pch>
|
||||
</module>
|
||||
|
|
Loading…
Reference in a new issue