From 5579388d2dda60ded329a4623f9b4529e91a1b24 Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Sun, 14 Aug 2022 09:53:28 +1200 Subject: Remove replacement code for getaddrinfo. SUSv3, all targeted Unixes and modern Windows have getaddrinfo() and related interfaces. Drop the replacement implementation, and adjust some headers slightly to make sure that the APIs are visible everywhere using standard POSIX headers and names. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com --- config/c-library.m4 | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'config') diff --git a/config/c-library.m4 b/config/c-library.m4 index 7a790337306..58453c4f76f 100644 --- a/config/c-library.m4 +++ b/config/c-library.m4 @@ -89,17 +89,6 @@ AC_DEFUN([PGAC_STRUCT_SOCKADDR_STORAGE_MEMBERS], ])])# PGAC_STRUCT_SOCKADDR_STORAGE_MEMBERS -# PGAC_STRUCT_ADDRINFO -# ----------------------- -# If `struct addrinfo' exists, define HAVE_STRUCT_ADDRINFO. -AC_DEFUN([PGAC_STRUCT_ADDRINFO], -[AC_CHECK_TYPES([struct addrinfo], [], [], -[#include -#include -#include -])])# PGAC_STRUCT_ADDRINFO - - # PGAC_TYPE_LOCALE_T # ------------------ # Check for the locale_t type and find the right header file. macOS -- cgit v1.2.3