5495ff4d78
Inclusion of mach/mach_time.h by libcxx/src/chrono.cpp breaks the build on latest MACOS dues to https://forums.developer.apple.com/forums/thread/746737 The interface from mach/mach_time.h is not referenced in chrono.cpp so it is safe to remove it Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
14 lines
284 B
Diff
14 lines
284 B
Diff
--- libcxx/src/chrono.cpp
|
|
+++ libcxx/src/chrono.cpp
|
|
@@ -48,10 +48,6 @@
|
|
# include <zircon/syscalls.h>
|
|
#endif
|
|
|
|
-#if __has_include(<mach/mach_time.h>)
|
|
-# include <mach/mach_time.h>
|
|
-#endif
|
|
-
|
|
#if defined(__ELF__) && defined(_LIBCPP_LINK_RT_LIB)
|
|
# pragma comment(lib, "rt")
|
|
#endif
|