mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 15:34:13 +00:00
[IPHLPAPI_WINETEST] Import htonl and co from ws2_32 instead of hacking things locally. ROSTESTS-206
svn path=/trunk/; revision=70270
This commit is contained in:
parent
626e9cdf00
commit
e8ce0215cf
|
@ -2,5 +2,5 @@
|
|||
add_executable(iphlpapi_winetest iphlpapi.c testlist.c)
|
||||
target_link_libraries(iphlpapi_winetest wine)
|
||||
set_module_type(iphlpapi_winetest win32cui)
|
||||
add_importlibs(iphlpapi_winetest msvcrt kernel32 ntdll)
|
||||
add_importlibs(iphlpapi_winetest ws2_32 msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET iphlpapi_winetest DESTINATION reactos/bin FOR all)
|
||||
|
|
|
@ -48,16 +48,6 @@
|
|||
|
||||
#define ICMP_MINLEN 8 /* copied from dlls/iphlpapi/ip_icmp.h file */
|
||||
|
||||
#undef htonl
|
||||
#undef htons
|
||||
#undef ntohl
|
||||
#undef ntohs
|
||||
|
||||
#define htonl(l) ((u_long)(l))
|
||||
#define htons(s) ((u_short)(s))
|
||||
#define ntohl(l) ((u_long)(l))
|
||||
#define ntohs(s) ((u_short)(s))
|
||||
|
||||
static HMODULE hLibrary = NULL;
|
||||
|
||||
static DWORD (WINAPI *pGetNumberOfInterfaces)(PDWORD);
|
||||
|
|
Loading…
Reference in a new issue