wbemprox: Don't define USE_WS_PREFIX on MinGW.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
848f478091
commit
d11a07ec7c
|
@ -1,4 +1,3 @@
|
|||
EXTRADEFS = -DUSE_WS_PREFIX
|
||||
MODULE = wbemprox.dll
|
||||
IMPORTS = winspool version iphlpapi dxgi oleaut32 ole32 advapi32 user32 gdi32 ws2_32 rpcrt4
|
||||
|
||||
|
|
|
@ -31,8 +31,17 @@
|
|||
#define WIN32_NO_STATUS
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#ifdef __MINGW32__
|
||||
# include "winsock2.h"
|
||||
# include "ws2tcpip.h"
|
||||
# define WS_AF_UNSPEC AF_UNSPEC
|
||||
# define WS_NI_MAXHOST NI_MAXHOST
|
||||
# define WS_NI_NAMEREQD NI_NAMEREQD
|
||||
#else
|
||||
# define USE_WS_PREFIX
|
||||
# include "winsock2.h"
|
||||
# include "ws2tcpip.h"
|
||||
#endif
|
||||
#include "initguid.h"
|
||||
#include "wbemcli.h"
|
||||
#include "wbemprov.h"
|
||||
|
|
Loading…
Reference in New Issue