Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 4c171a5

Browse files
committed
uv: upgrade to 3d9de13
1 parent d908b83 commit 4c171a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

deps/uv/src/unix/internal.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
# define HAVE_KQUEUE 1
6464
#endif
6565

66+
#if defined(__APPLE__) && !defined(TARGET_OS_IPHONE)
67+
# include <CoreServices/CoreServices.h>
68+
#endif
69+
6670
#define UNREACHABLE() \
6771
do { \
6872
assert(0 && "unreachable code"); \
@@ -198,7 +202,7 @@ int uv__fsevents_init(uv_fs_event_t* handle);
198202
int uv__fsevents_close(uv_fs_event_t* handle);
199203

200204
/* OSX < 10.7 has no file events, polyfill them */
201-
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070
205+
#ifndef MAC_OS_X_VERSION_10_7
202206

203207
static const int kFSEventStreamCreateFlagFileEvents = 0x00000010;
204208
static const int kFSEventStreamEventFlagItemCreated = 0x00000100;

0 commit comments

Comments
 (0)