Skip to content

Commit b4e6cab

Browse files
committed
Tweak some macro definition on Windows
1 parent 3b62e8b commit b4e6cab

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

win32/build/config.w32

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ if (main_network_has_ipv6) {
292292
AC_DEFINE('HAVE_GAI_STRERROR', 1);
293293
AC_DEFINE('HAVE_IPV6', 1);
294294
}
295-
AC_DEFINE('HAVE_GETADDRINFO', main_network_has_ipv6);
296295

297296
/* this allows up to 256 sockets to be select()ed in a single
298297
* call to select(), instead of the usual 64 */

win32/build/config.w32.h.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
#define HAVE_UTIME 1
7272
#undef HAVE_DIRENT_H
7373
#define HAVE_FCNTL_H 1
74-
#define HAVE_GRP_H 0
74+
#define HAVE_GRP_H 1
7575
#undef HAVE_PWD_H
7676
#undef HAVE_SYS_FILE_H
7777
#undef HAVE_SYS_SOCKET_H
@@ -135,3 +135,5 @@
135135
#ifdef __clang__
136136
#define HAVE_FUNC_ATTRIBUTE_TARGET 1
137137
#endif
138+
139+
#define HAVE_GETADDRINFO 1

0 commit comments

Comments
 (0)