@@ -68,13 +68,13 @@ namespace swift {
6868 SWIFT_TARGET_LIBRARY_NAME)
6969
7070// Compatibility overrides are only supported on Darwin.
71- #ifndef SWIFT_RUNTIME_NO_COMPATIBILITY_OVERRIDES
71+ #ifdef SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT
7272#if !(defined(__APPLE__) && defined(__MACH__))
73- #define SWIFT_RUNTIME_NO_COMPATIBILITY_OVERRIDES
73+ #undef SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT
7474#endif
7575#endif
7676
77- #ifdef SWIFT_RUNTIME_NO_COMPATIBILITY_OVERRIDES
77+ #ifndef SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT
7878
7979// Call directly through to the original implementation when we don't support
8080// overrides.
@@ -84,7 +84,7 @@ namespace swift {
8484 return swift_##name##Impl COMPATIBILITY_PAREN (namedArgs); \
8585 }
8686
87- #else // #ifdef SWIFT_RUNTIME_NO_COMPATIBILITY_OVERRIDES
87+ #else // #ifndef SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT
8888
8989// Override section name computation. `COMPATIBILITY_OVERRIDE_SECTION_NAME` will
9090// resolve to string literal containing the appropriate section name for the
@@ -129,7 +129,7 @@ namespace swift {
129129 return swift_##name##Impl COMPATIBILITY_PAREN (namedArgs); \
130130 }
131131
132- #endif // #else SWIFT_RUNTIME_NO_COMPATIBILITY_OVERRIDES
132+ #endif // #else SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT
133133
134134} /* end namespace swift */
135135
0 commit comments