Commit b79ec73
committed
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.com1 parent 5963c9a commit b79ec73
File tree
5 files changed
+4
-12
lines changed- src
- include
- tools/msvc
5 files changed
+4
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13875 | 13875 | | |
13876 | 13876 | | |
13877 | 13877 | | |
13878 | | - | |
| 13878 | + | |
13879 | 13879 | | |
13880 | 13880 | | |
13881 | 13881 | | |
| |||
16039 | 16039 | | |
16040 | 16040 | | |
16041 | 16041 | | |
16042 | | - | |
| 16042 | + | |
16043 | 16043 | | |
16044 | 16044 | | |
16045 | 16045 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1452 | 1452 | | |
1453 | 1453 | | |
1454 | 1454 | | |
1455 | | - | |
1456 | 1455 | | |
1457 | 1456 | | |
1458 | 1457 | | |
| |||
1801 | 1800 | | |
1802 | 1801 | | |
1803 | 1802 | | |
1804 | | - | |
1805 | 1803 | | |
1806 | 1804 | | |
1807 | 1805 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | 379 | | |
386 | 380 | | |
387 | 381 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| 535 | + | |
| 536 | + | |
535 | 537 | | |
536 | 538 | | |
537 | 539 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
325 | 323 | | |
326 | 324 | | |
327 | 325 | | |
| |||
0 commit comments