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

Commitea849a2

Browse files
committed
Add comment explaining that autoconf's failure to find getaddrinfo()
on Windows is now a feature, not a bug.
1 parent15df139 commitea849a2

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

‎configure

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14550,8 +14550,11 @@ done
1455014550

1455114551

1455214552

14553-
# system's version of getaddrinfo(), if any, may be used only if we found
14554-
# a definition for struct addrinfo; see notes in src/include/getaddrinfo.h
14553+
# System's version of getaddrinfo(), if any, may be used only if we found
14554+
# a definition for struct addrinfo; see notes in src/include/getaddrinfo.h.
14555+
# (Note: the AC_REPLACE_FUNCS probe fails on Windows, where the available
14556+
# versions of getaddrinfo don't follow normal C call protocol. This is OK
14557+
# because we want to use our own getaddrinfo.c on Windows anyway.)
1455514558
if test x"$ac_cv_type_struct_addrinfo" = xyes ; then
1455614559

1455714560
for ac_func in getaddrinfo

‎configure.in

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.424 2005/08/24 21:32:37 pgsql Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.425 2005/08/25 02:28:03 tgl Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -883,8 +883,11 @@ fi
883883

884884
AC_REPLACE_FUNCS([crypt fseeko getopt getrusage inet_aton random rint srandom strdup strerror strtol strtoul unsetenv])
885885

886-
# system's version of getaddrinfo(), if any, may be used only if we found
887-
# a definition for struct addrinfo; see notes in src/include/getaddrinfo.h
886+
# System's version of getaddrinfo(), if any, may be used only if we found
887+
# a definition for struct addrinfo; see notes in src/include/getaddrinfo.h.
888+
# (Note: the AC_REPLACE_FUNCS probe fails on Windows, where the available
889+
# versions of getaddrinfo don't follow normal C call protocol. This is OK
890+
# because we want to use our own getaddrinfo.c on Windows anyway.)
888891
if test x"$ac_cv_type_struct_addrinfo" = xyes ; then
889892
AC_REPLACE_FUNCS([getaddrinfo])
890893
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp