* include/iptypes.h (IP_ADAPTER_*): Define parts that depend
on SOCKET_ADDRESS only if winsock2.h has already been included.
This commit is contained in:
parent
944a4fa770
commit
e98a5b1c43
@ -1,3 +1,8 @@
|
||||
2006-04-06 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
|
||||
|
||||
* include/iptypes.h (IP_ADAPTER_*): Define parts that depend
|
||||
on SOCKET_ADDRESS only if winsock2.h has already been included.
|
||||
|
||||
2006-04-06 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
|
||||
|
||||
* include/winuser.h (WM_IME_*): Remove. Defined in imm.h.
|
||||
|
@ -83,7 +83,7 @@ typedef struct _FIXED_INFO {
|
||||
UINT EnableProxy;
|
||||
UINT EnableDns;
|
||||
} FIXED_INFO, *PFIXED_INFO;
|
||||
#if (_WIN32_WINNT >= 0x0501)
|
||||
#if (_WIN32_WINNT >= 0x0501) && defined(_WINSOCK2_H)
|
||||
typedef enum {
|
||||
IfOperStatusUp = 1,
|
||||
IfOperStatusDown,
|
||||
|
@ -15,6 +15,7 @@
|
||||
#endif
|
||||
|
||||
#define _GNU_H_WINDOWS32_SOCKETS
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user