Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita310a1d

Browse files
committed
Some more mop-up for Windows IPv6 support. Andrew Dunstan
1 parentf26b917 commita310a1d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎src/include/port/win32/sys/socket.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*
66
* Note: Don't include <wingdi.h> directly. It causes compile errors.
77
*/
8+
#include<ws2tcpip.h>
89
#include<winsock2.h>
910
#undef ERROR
1011
#undef small
@@ -13,4 +14,11 @@
1314
#ifdefPGERROR
1415
#defineERROR PGERROR
1516

17+
/*
18+
* we can't use the windows gai_strerror{AW} functions because
19+
* they are defined inline in the MS header files. So we'll use our
20+
* own
21+
*/
22+
#undef gai_strerror
23+
1624
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp