mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This patch automates maintaining the right compatibility override
section names so we don't need to remember to update them by hand with
each version.
The expansions look like
'"__swift" "5" "9" "_hooks"' and
'"__s" "5" "9" "async_hook"'.
Note: The section names can only grow to be 16 characters long. If we
see explosions regarding these names, that could be why.
14 lines
374 B
C
14 lines
374 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_BNI_OS_BUILD
|
|
#cmakedefine01 SWIFT_BNI_XCODE_BUILD
|
|
|
|
#cmakedefine SWIFT_VERSION_MAJOR "@SWIFT_VERSION_MAJOR@"
|
|
#cmakedefine SWIFT_VERSION_MINOR "@SWIFT_VERSION_MINOR@"
|
|
|
|
#endif
|