forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb79ec73
committed
Remove configure probes for poll and poll.h.
poll() and <poll.h> are in SUSv2 and all targeted Unix systems havethem.Retain HAVE_POLL and HAVE_POLL_H macros for readability. There's anerror in latch.c that is now unreachable (since we always have one ofWIN32 or HAVE_POLL defined), but that falls out of a decision to keepusing 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 parent5963c9a commitb79ec73
File tree
5 files changed
+4
-12
lines changed- src
- include
- tools/msvc
5 files changed
+4
-12
lines changedLines changed: 2 additions & 2 deletions
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 |
| |
|
Lines changed: 0 additions & 2 deletions
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 |
| |
|
Lines changed: 0 additions & 6 deletions
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 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
532 | 532 |
| |
533 | 533 |
| |
534 | 534 |
| |
| 535 | + | |
| 536 | + | |
535 | 537 |
| |
536 | 538 |
| |
537 | 539 |
| |
|
Lines changed: 0 additions & 2 deletions
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
Comments
(0)