forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit75357ab
committed
Remove configure probe for sys/uio.h.
<sys/uio.h> is in SUSv2, and all targeted Unix system have it, so wemight as well drop the probe (in fact we never really needed this one).It's where struct iovec is defined, and as a common extension, it's alsowhere non-standard preadv() and pwritev() are declared on systems thathave them.We should also be able to assume that IOV_MAX is defined on Unix.To spell out what our pg_iovec.h header does for the OSes in the buildfarm as of today: Windows: our own struct and functions Solaris, Cygwin: <sys/uio.h>'s struct, our own functions Every other Unix: <sys/uio.h>'s struct and functionsReviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com1 parentabf46ad commit75357ab
File tree
5 files changed
+9
-18
lines changed- src
- include
- port
- tools/msvc
5 files changed
+9
-18
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13874 | 13874 |
| |
13875 | 13875 |
| |
13876 | 13876 |
| |
13877 |
| - | |
| 13877 | + | |
13878 | 13878 |
| |
13879 | 13879 |
| |
13880 | 13880 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1467 | 1467 |
| |
1468 | 1468 |
| |
1469 | 1469 |
| |
1470 |
| - | |
1471 | 1470 |
| |
1472 | 1471 |
| |
1473 | 1472 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
538 | 538 |
| |
539 | 539 |
| |
540 | 540 |
| |
541 |
| - | |
542 |
| - | |
543 |
| - | |
544 | 541 |
| |
545 | 542 |
| |
546 | 543 |
| |
|
Lines changed: 8 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 |
| - | |
21 | 20 |
| |
22 |
| - | |
23 |
| - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 |
| |
25 | 28 |
| |
26 | 29 |
| |
27 | 30 |
| |
28 | 31 |
| |
29 |
| - | |
30 | 32 |
| |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 | 33 |
| |
38 | 34 |
| |
39 | 35 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
375 | 375 |
| |
376 | 376 |
| |
377 | 377 |
| |
378 |
| - | |
379 | 378 |
| |
380 | 379 |
| |
381 | 380 |
| |
|
0 commit comments
Comments
(0)