We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 382f04a commit 62e7139Copy full SHA for 62e7139
stdlib/public/runtime/Bincompat.cpp
@@ -18,7 +18,7 @@
18
#include <stdint.h>
19
20
// If this is an Apple OS, use the Apple binary compatibility rules
21
-#if __has_include(<mach-o/dyld_priv.h>)
+#if __has_include(<mach-o/dyld_priv.h>) && defined(SWIFT_RUNTIME_OS_VERSIONING)
22
#include <mach-o/dyld_priv.h>
23
#ifndef BINARY_COMPATIBILITY_APPLE
24
#define BINARY_COMPATIBILITY_APPLE 1
0 commit comments