diff options
author | Thomas Munro <tmunro@postgresql.org> | 2022-08-05 09:37:53 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2022-08-05 09:37:53 +1200 |
commit | b79ec732d29fe42e91aeab4da62d446f226b594a (patch) | |
tree | 866482caef3035cc18f8ef3c07e5ff726656570e /configure.ac | |
parent | 5963c9a154bd5590a7ea48826d9bd72c9324e071 (diff) | |
download | postgresql-b79ec732d29fe42e91aeab4da62d446f226b594a.tar.gz |
Remove configure probes for poll and poll.h.
poll() and <poll.h> are in SUSv2 and all targeted Unix systems have
them.
Retain HAVE_POLL and HAVE_POLL_H macros for readability. There's an
error in latch.c that is now unreachable (since we always have one of
WIN32 or HAVE_POLL defined), but that falls out of a decision to keep
using defined(HAVE_POLL) instead of !defined(WIN32) to guard the poll()
code.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 3cf42d1ce4..7f8a20d97b 100644 --- a/configure.ac +++ b/configure.ac @@ -1452,7 +1452,6 @@ AC_CHECK_HEADERS(m4_normalize([ ifaddrs.h langinfo.h mbarrier.h - poll.h sys/epoll.h sys/event.h sys/ipc.h @@ -1801,7 +1800,6 @@ AC_CHECK_FUNCS(m4_normalize([ kqueue mbstowcs_l memset_s - poll posix_fallocate ppoll pthread_is_threaded_np |