diff options
| author | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-01-19 09:58:21 +0900 |
|---|---|---|
| committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-01-19 09:58:21 +0900 |
| commit | b249f68e6ca8b5122fa21c7d66bd4f74d21c1551 (patch) | |
| tree | 650eb04b8468792e191e3d5070faf11e5d53afea /include | |
| parent | 3b2560feb355e708a59ecfb224932810687a75ad (diff) | |
| download | portable-b249f68e6ca8b5122fa21c7d66bd4f74d21c1551.tar.gz portable-b249f68e6ca8b5122fa21c7d66bd4f74d21c1551.tar.bz2 portable-b249f68e6ca8b5122fa21c7d66bd4f74d21c1551.zip | |
Fix fcntl.h shim since HP-UX 11.31 (ia64) does not define O_CLOEXEC
Diffstat (limited to 'include')
| -rw-r--r-- | include/compat/fcntl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/compat/fcntl.h b/include/compat/fcntl.h index 99c2d58..7dfedc6 100644 --- a/include/compat/fcntl.h +++ b/include/compat/fcntl.h | |||
| @@ -17,6 +17,8 @@ | |||
| 17 | #include_next <fcntl.h> | 17 | #include_next <fcntl.h> |
| 18 | #endif | 18 | #endif |
| 19 | 19 | ||
| 20 | #endif | ||
| 21 | |||
| 20 | #ifndef O_NONBLOCK | 22 | #ifndef O_NONBLOCK |
| 21 | #define O_NONBLOCK 0x100000 | 23 | #define O_NONBLOCK 0x100000 |
| 22 | #endif | 24 | #endif |
| @@ -28,5 +30,3 @@ | |||
| 28 | #ifndef FD_CLOEXEC | 30 | #ifndef FD_CLOEXEC |
| 29 | #define FD_CLOEXEC 1 | 31 | #define FD_CLOEXEC 1 |
| 30 | #endif | 32 | #endif |
| 31 | |||
| 32 | #endif | ||
