mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Recent Swift uses 2 as the is-Swift bit when running on newer versions, and 1 on older versions. Since it's difficult or impossible to know what we'll be running on at build time, make the selection at runtime.
12 lines
309 B
C
12 lines
309 B
C
// This file is processed by CMake.
|
|
// See https://cmake.org/cmake/help/v3.0/command/configure_file.html.
|
|
|
|
#ifndef SWIFT_RUNTIME_CMAKECONFIG_H
|
|
#define SWIFT_RUNTIME_CMAKECONFIG_H
|
|
|
|
#cmakedefine01 SWIFT_DARWIN_ENABLE_STABLE_ABI_BIT
|
|
#cmakedefine01 SWIFT_BNI_OS_BUILD
|
|
#cmakedefine01 SWIFT_BNI_XCODE_BUILD
|
|
|
|
#endif
|