mirror of
https://github.com/reactos/CMake.git
synced 2024-12-16 16:16:33 +00:00
libuv: Avoid including macOS CoreServices header globally
We only need the availability macros in `unix/internal.h`. We already include CoreServices where needed in implementation files.
This commit is contained in:
parent
a63aaaed05
commit
f4f8074bec
@ -51,10 +51,6 @@
|
||||
# include <poll.h>
|
||||
#endif /* _AIX */
|
||||
|
||||
#if defined(__APPLE__) && !TARGET_OS_IPHONE
|
||||
# include <CoreServices/CoreServices.h>
|
||||
#endif
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
int uv__pthread_sigmask(int how, const sigset_t* set, sigset_t* oset);
|
||||
# ifdef pthread_sigmask
|
||||
@ -272,6 +268,7 @@ int uv__make_socketpair(int fds[2], int flags);
|
||||
int uv__make_pipe(int fds[2], int flags);
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include <AvailabilityMacros.h>
|
||||
|
||||
int uv__fsevents_init(uv_fs_event_t* handle);
|
||||
int uv__fsevents_close(uv_fs_event_t* handle);
|
||||
|
Loading…
Reference in New Issue
Block a user