mirror of
https://github.com/postgres/postgres.git
synced 2025-06-09 00:01:41 -04:00
Adjust commit 2dbe8905 for ancient macOS.
A couple of open flags used in an assertion didn't exist in macOS 10.4. Per build farm animal prairiedog. Also add O_EXCL while here (there are a few more standard flags but they're not relevant and likely to be missing).
This commit is contained in:
parent
d121663561
commit
04cad8f7bc
@ -1065,9 +1065,14 @@ tryAgain:
|
|||||||
*/
|
*/
|
||||||
StaticAssertStmt((PG_O_DIRECT &
|
StaticAssertStmt((PG_O_DIRECT &
|
||||||
(O_APPEND |
|
(O_APPEND |
|
||||||
|
#if defined(O_CLOEXEC)
|
||||||
O_CLOEXEC |
|
O_CLOEXEC |
|
||||||
|
#endif
|
||||||
O_CREAT |
|
O_CREAT |
|
||||||
|
#if defined(O_DSYNC)
|
||||||
O_DSYNC |
|
O_DSYNC |
|
||||||
|
#endif
|
||||||
|
O_EXCL |
|
||||||
O_RDWR |
|
O_RDWR |
|
||||||
O_RDONLY |
|
O_RDONLY |
|
||||||
O_SYNC |
|
O_SYNC |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user