1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Test honestly for <sys/signalfd.h>.

Commit 6a2a70a02 supposed that any platform having <sys/epoll.h>
would also have <sys/signalfd.h>.  It turns out there are still a
few people using platforms where that's not so, so we'd better make
a separate configure probe for it.  But since it took this long to
notice, I'm content with the decision to not have a separate code
path for epoll-only machines; we'll just fall back to using poll()
for these stragglers.

Per gripe from Gabriela Serventi.  Back-patch to v14 where this
code came in.

Discussion: https://postgr.es/m/CAHOHWE-JjJDfcYuLAAEO7Jk07atFAU47z8TzHzg71gbC0aMy=g@mail.gmail.com
This commit is contained in:
Tom Lane
2022-02-09 14:24:54 -05:00
parent f48385c132
commit c5f5b4dd4b
5 changed files with 10 additions and 6 deletions

View File

@ -1412,6 +1412,7 @@ AC_CHECK_HEADERS(m4_normalize([
sys/select.h
sys/sem.h
sys/shm.h
sys/signalfd.h
sys/sockio.h
sys/tas.h
sys/uio.h