mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add a SWIFT_STDLIB_OS_VERSIONING flag to avoid querying OS version at runtime, use it in the freestanding build (#33791)
This commit is contained in:
committed by
GitHub
parent
9fb7769700
commit
aa0f8e670b
@@ -15,7 +15,7 @@
|
||||
#include "../SwiftShims/FoundationShims.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#if defined(__APPLE__) && defined(__MACH__) && defined(SWIFT_RUNTIME_OS_VERSIONING)
|
||||
|
||||
#if SWIFT_CLASS_IS_SWIFT_MASK_GLOBAL_VARIABLE
|
||||
static unsigned long long computeIsSwiftMask() {
|
||||
|
||||
Reference in New Issue
Block a user