Files
swift-mirror/include/swift/Runtime/CMakeConfig.h.in
Evan Wilde f023bdeee9 Base override section names on swift version
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.
2023-02-15 19:43:57 -08:00

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