unix: don't include CoreServices globally on macOS
In unix/internal.h, CoreServices is included for AvailabilityMacros.h. This commit just includes AvailabilityMacros.h directly instead. PR-URL: https://github.com/libuv/libuv/pull/1092 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
3064ae98e5
commit
6b35ca8616
@ -52,7 +52,7 @@
|
||||
#endif /* _AIX */
|
||||
|
||||
#if defined(__APPLE__) && !TARGET_OS_IPHONE
|
||||
# include <CoreServices/CoreServices.h>
|
||||
# include <AvailabilityMacros.h>
|
||||
#endif
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user