diff options
author | Earle Lowe <elowe@elowe.com> | 2019-07-02 22:20:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-20 14:30:01 (GMT) |
commit | 5ffb2dbff65bdd5db713ba0c177cecc122cac0d8 (patch) | |
tree | cec46a55c8dd1cdb89706f1de4db10f0a2594907 /Utilities/cmlibuv/src/unix/fs.c | |
parent | 1059f9a96da377af771fe643abc1d060db6d64bb (diff) | |
download | CMake-5ffb2dbff65bdd5db713ba0c177cecc122cac0d8.zip CMake-5ffb2dbff65bdd5db713ba0c177cecc122cac0d8.tar.gz CMake-5ffb2dbff65bdd5db713ba0c177cecc122cac0d8.tar.bz2 |
libuv: Add partial port to HP-UX
Port enough of libuv to HP-UX 11.31 ia64 with GCC 4.9.3 to work for
CMake.
Diffstat (limited to 'Utilities/cmlibuv/src/unix/fs.c')
-rw-r--r-- | Utilities/cmlibuv/src/unix/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibuv/src/unix/fs.c b/Utilities/cmlibuv/src/unix/fs.c index 3023b1e..5fb34f1b 100644 --- a/Utilities/cmlibuv/src/unix/fs.c +++ b/Utilities/cmlibuv/src/unix/fs.c @@ -234,7 +234,7 @@ static ssize_t uv__fs_futime(uv_fs_t* req) { #endif } -#if defined(__sun) && (_XOPEN_SOURCE < 600 || defined(CMAKE_BOOTSTRAP)) +#if (defined(__sun) || defined(__hpux)) && (_XOPEN_SOURCE < 600 || defined(CMAKE_BOOTSTRAP)) static char* uv__mkdtemp(char *template) { if (!mktemp(template) || mkdir(template, 0700)) |