diff options
author | Brad King <brad.king@kitware.com> | 2019-06-18 11:45:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-18 11:45:53 (GMT) |
commit | 69b139cfca6c5eef64558070f533b6c898f410e0 (patch) | |
tree | 12d281e91cc1f71c56e2e1372589085df4df8265 /Utilities/cmlibuv/src/unix/fsevents.c | |
parent | ab63072381171e9c5a7164536f0912b8b3a4a313 (diff) | |
parent | b4069b04ff63b327ff4881282200c3c73fded34d (diff) | |
download | CMake-69b139cfca6c5eef64558070f533b6c898f410e0.zip CMake-69b139cfca6c5eef64558070f533b6c898f410e0.tar.gz CMake-69b139cfca6c5eef64558070f533b6c898f410e0.tar.bz2 |
Merge branch 'upstream-libuv' into update-libuv
* upstream-libuv:
libuv 2019-06-10 (ee24ce90)
Diffstat (limited to 'Utilities/cmlibuv/src/unix/fsevents.c')
-rw-r--r-- | Utilities/cmlibuv/src/unix/fsevents.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/cmlibuv/src/unix/fsevents.c b/Utilities/cmlibuv/src/unix/fsevents.c index c430562..ddacda3 100644 --- a/Utilities/cmlibuv/src/unix/fsevents.c +++ b/Utilities/cmlibuv/src/unix/fsevents.c @@ -21,9 +21,10 @@ #include "uv.h" #include "internal.h" -#if TARGET_OS_IPHONE +#if TARGET_OS_IPHONE || MAC_OS_X_VERSION_MAX_ALLOWED < 1070 /* iOS (currently) doesn't provide the FSEvents-API (nor CoreServices) */ +/* macOS prior to 10.7 doesn't provide the full FSEvents API so use kqueue */ int uv__fsevents_init(uv_fs_event_t* handle) { return 0; |