* net.cc: Define _NETIOAPI_H_ to accomodate newer w32api.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Takashi Yano 2015-05-27 12:56:31 +02:00 committed by Corinna Vinschen
parent 3710583ebb
commit d337c37417
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-05-27 Takashi Yano <takashi.yano@nifty.ne.jp>
* net.cc: Define _NETIOAPI_H_ to accomodate newer w32api.
2015-05-03 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 2.

View File

@ -18,7 +18,8 @@ details. */
if_indextoname functions in iphlpapi.h since Vista.
TODO: Convert if_nametoindex to cygwin_if_nametoindex and call
system functions on Vista and later. */
#define _INC_NETIOAPI
#define _INC_NETIOAPI /* w32api < 4.0 */
#define _NETIOAPI_H_
#include "winsup.h"
#ifdef __x86_64__
/* 2014-04-24: Current Mingw headers define sockaddr_in6 using u_long (8 byte)