* 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:
Dimitri Papadopoulos 2006-04-06 12:16:49 +00:00
parent 944a4fa770
commit e98a5b1c43
3 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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,

View File

@ -15,6 +15,7 @@
#endif
#define _GNU_H_WINDOWS32_SOCKETS
#include <windows.h>
#ifdef __cplusplus