* include/iphlpapi.h (GetAdaptersAddresses): Check for winsock2

here also.
This commit is contained in:
Danny Smith 2006-04-08 03:49:28 +00:00
parent b577ecdf59
commit e5807db846
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-04-08 Danny Smith <dannysmith@users.sourceforge.net>
* include/iphlpapi.h (GetAdaptersAddresses): Check for winsock2
here also.
2006-04-07 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/wincrypt.h (PROV_MS_EXCHANGE): Define.

View File

@ -30,7 +30,7 @@ DWORD WINAPI DeleteIpNetEntry(PMIB_IPNETROW);
DWORD WINAPI DeleteProxyArpEntry(DWORD,DWORD,DWORD);
DWORD WINAPI EnableRouter(HANDLE*,OVERLAPPED*);
DWORD WINAPI FlushIpNetTable(DWORD);
#if (_WIN32_WINNT >= 0x0501)
#if (_WIN32_WINNT >= 0x0501 && defined(_WINSOCK2_H))
ULONG WINAPI GetAdaptersAddresses(ULONG,ULONG,PVOID,PIP_ADAPTER_ADDRESSES,PULONG);
#endif
DWORD WINAPI GetAdapterIndex(LPWSTR,PULONG);