Skip to content

Commit c2581ae

Browse files
authored
Use the SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT macro guard in magic-symbols-for-install-name.c (swiftlang#41280)
1 parent 64340aa commit c2581ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

stdlib/linker-support/magic-symbols-for-install-name.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@
8989
#error Unknown target.
9090
#endif
9191

92-
#endif // defined(__APPLE__) && defined(__MACH__)
92+
#endif // defined(__APPLE__) && defined(__MACH__) && SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT

stdlib/public/Concurrency/linker-support/magic-symbols-for-install-name.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//
2121
//===----------------------------------------------------------------------===//
2222

23-
#if defined(__APPLE__) && defined(__MACH__)
23+
#if defined(__APPLE__) && defined(__MACH__) && SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT
2424

2525
#include <Availability.h>
2626
#include <TargetConditionals.h>
@@ -134,4 +134,4 @@ const char ld_previous_macCatalyst = 0;
134134
#error Unknown target.
135135
#endif
136136

137-
#endif // defined(__APPLE__) && defined(__MACH__)
137+
#endif // defined(__APPLE__) && defined(__MACH__) && SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT

0 commit comments

Comments
 (0)