mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-24 04:39:50 +00:00
Expand version comments in dyld_priv.h
This commit is contained in:
parent
b92d908b12
commit
d9d2e11387
@ -0,0 +1 @@
|
||||
../../../../../../../../../src/AvailabilityVersions/availability.pl
|
14
src/dyld/darling-scripts/add-version-macros.sh
Executable file
14
src/dyld/darling-scripts/add-version-macros.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
|
||||
pushd $(dirname "$0") > /dev/null
|
||||
SCRIPTDIR=$(pwd -P)
|
||||
popd > /dev/null
|
||||
|
||||
export SRCROOT="$SCRIPTDIR/.."
|
||||
export SDKROOT="$SRCROOT/../../Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
|
||||
|
||||
# copied and modified from dyld.xcodeproj
|
||||
${SRCROOT}/bin/expand.rb < "${SRCROOT}/include/mach-o/dyld_priv.h" > "${SRCROOT}/include/mach-o/dyld_priv.h.tmp"
|
||||
|
||||
mv "${SRCROOT}/include/mach-o/dyld_priv.h.tmp" "${SRCROOT}/include/mach-o/dyld_priv.h"
|
@ -149,29 +149,311 @@ extern void dyld_get_image_versions(const struct mach_header* mh, void (^callbac
|
||||
|
||||
// Convienence constants for dyld version SPIs.
|
||||
|
||||
//@VERSION_SET_DEFS@
|
||||
#if TARGET_OS_OSX
|
||||
#define dyld_fall_2018_os_versions dyld_platform_version_macOS_10_14
|
||||
#define dyld_late_fall_2018_os_versions dyld_platform_version_macOS_10_14_1
|
||||
#define dyld_spring_2019_os_versions dyld_platform_version_macOS_10_14_4
|
||||
#define dyld_summer_2019_os_versions dyld_platform_version_macOS_10_14_5
|
||||
#define dyld_late_summer_2019_os_versions dyld_platform_version_macOS_10_14_6
|
||||
#define dyld_fall_2019_os_versions dyld_platform_version_macOS_10_15
|
||||
#define dyld_autumn_2019_os_versions dyld_platform_version_macOS_10_15
|
||||
#define dyld_late_fall_2019_os_versions dyld_platform_version_macOS_10_15_1
|
||||
#define dyld_winter_2019_os_versions dyld_platform_version_macOS_10_15_1
|
||||
#endif /* TARGET_OS_OSX */
|
||||
#if TARGET_OS_IOS
|
||||
#define dyld_fall_2018_os_versions dyld_platform_version_iOS_12_0
|
||||
#define dyld_late_fall_2018_os_versions dyld_platform_version_iOS_12_1
|
||||
#define dyld_spring_2019_os_versions dyld_platform_version_iOS_12_2
|
||||
#define dyld_summer_2019_os_versions dyld_platform_version_iOS_12_3
|
||||
#define dyld_late_summer_2019_os_versions dyld_platform_version_iOS_12_4
|
||||
#define dyld_fall_2019_os_versions dyld_platform_version_iOS_13_0
|
||||
#define dyld_autumn_2019_os_versions dyld_platform_version_iOS_13_1
|
||||
#define dyld_late_fall_2019_os_versions dyld_platform_version_iOS_13_2
|
||||
#define dyld_winter_2019_os_versions dyld_platform_version_iOS_13_3
|
||||
#endif /* TARGET_OS_IOS */
|
||||
#if TARGET_OS_TV
|
||||
#define dyld_fall_2018_os_versions dyld_platform_version_tvOS_12_0
|
||||
#define dyld_late_fall_2018_os_versions dyld_platform_version_tvOS_12_1
|
||||
#define dyld_spring_2019_os_versions dyld_platform_version_tvOS_12_2
|
||||
#define dyld_summer_2019_os_versions dyld_platform_version_tvOS_12_3
|
||||
#define dyld_late_summer_2019_os_versions dyld_platform_version_tvOS_12_4
|
||||
#define dyld_fall_2019_os_versions dyld_platform_version_tvOS_13_0
|
||||
#define dyld_autumn_2019_os_versions dyld_platform_version_tvOS_13_0
|
||||
#define dyld_late_fall_2019_os_versions dyld_platform_version_tvOS_13_2
|
||||
#define dyld_winter_2019_os_versions dyld_platform_version_tvOS_13_3
|
||||
#endif /* TARGET_OS_TV */
|
||||
#if TARGET_OS_WATCH
|
||||
#define dyld_fall_2018_os_versions dyld_platform_version_watchOS_5_0
|
||||
#define dyld_late_fall_2018_os_versions dyld_platform_version_watchOS_5_1
|
||||
#define dyld_spring_2019_os_versions dyld_platform_version_watchOS_5_2
|
||||
#define dyld_summer_2019_os_versions dyld_platform_version_watchOS_5_2
|
||||
#define dyld_late_summer_2019_os_versions dyld_platform_version_watchOS_5_3
|
||||
#define dyld_fall_2019_os_versions dyld_platform_version_watchOS_6_0
|
||||
#define dyld_autumn_2019_os_versions dyld_platform_version_watchOS_6_0
|
||||
#define dyld_late_fall_2019_os_versions dyld_platform_version_watchOS_6_1
|
||||
#define dyld_winter_2019_os_versions dyld_platform_version_watchOS_6_1
|
||||
#endif /* TARGET_OS_WATCH */
|
||||
#if TARGET_OS_BRIDGE
|
||||
#define dyld_fall_2018_os_versions dyld_platform_version_bridgeOS_3_0
|
||||
#define dyld_late_fall_2018_os_versions dyld_platform_version_bridgeOS_3_1
|
||||
#define dyld_spring_2019_os_versions dyld_platform_version_bridgeOS_3_4
|
||||
#define dyld_summer_2019_os_versions dyld_platform_version_bridgeOS_3_4
|
||||
#define dyld_late_summer_2019_os_versions dyld_platform_version_bridgeOS_3_4
|
||||
#define dyld_fall_2019_os_versions dyld_platform_version_bridgeOS_4_0
|
||||
#define dyld_autumn_2019_os_versions dyld_platform_version_bridgeOS_4_0
|
||||
#define dyld_late_fall_2019_os_versions dyld_platform_version_bridgeOS_4_1
|
||||
#define dyld_winter_2019_os_versions dyld_platform_version_bridgeOS_4_1
|
||||
#endif /* TARGET_OS_BRIDGE */
|
||||
|
||||
//@MACOS_PLATFORM_VERSION_DEFS@
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_0 = { .platform = PLATFORM_MACOS, .version = 0x000a0000 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_1 = { .platform = PLATFORM_MACOS, .version = 0x000a0100 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_2 = { .platform = PLATFORM_MACOS, .version = 0x000a0200 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_3 = { .platform = PLATFORM_MACOS, .version = 0x000a0300 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_4 = { .platform = PLATFORM_MACOS, .version = 0x000a0400 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_5 = { .platform = PLATFORM_MACOS, .version = 0x000a0500 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_6 = { .platform = PLATFORM_MACOS, .version = 0x000a0600 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_7 = { .platform = PLATFORM_MACOS, .version = 0x000a0700 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_8 = { .platform = PLATFORM_MACOS, .version = 0x000a0800 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_9 = { .platform = PLATFORM_MACOS, .version = 0x000a0900 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_10 = { .platform = PLATFORM_MACOS, .version = 0x000a0a00 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_10_2 = { .platform = PLATFORM_MACOS, .version = 0x000a0a02 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_10_3 = { .platform = PLATFORM_MACOS, .version = 0x000a0a03 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_11 = { .platform = PLATFORM_MACOS, .version = 0x000a0b00 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_11_2 = { .platform = PLATFORM_MACOS, .version = 0x000a0b02 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_11_3 = { .platform = PLATFORM_MACOS, .version = 0x000a0b03 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_11_4 = { .platform = PLATFORM_MACOS, .version = 0x000a0b04 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_12 = { .platform = PLATFORM_MACOS, .version = 0x000a0c00 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_12_1 = { .platform = PLATFORM_MACOS, .version = 0x000a0c01 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_12_2 = { .platform = PLATFORM_MACOS, .version = 0x000a0c02 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_12_4 = { .platform = PLATFORM_MACOS, .version = 0x000a0c04 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_13 = { .platform = PLATFORM_MACOS, .version = 0x000a0d00 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_13_1 = { .platform = PLATFORM_MACOS, .version = 0x000a0d01 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_13_2 = { .platform = PLATFORM_MACOS, .version = 0x000a0d02 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_13_4 = { .platform = PLATFORM_MACOS, .version = 0x000a0d04 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_14 = { .platform = PLATFORM_MACOS, .version = 0x000a0e00 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_14_1 = { .platform = PLATFORM_MACOS, .version = 0x000a0e01 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_14_4 = { .platform = PLATFORM_MACOS, .version = 0x000a0e04 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_14_5 = { .platform = PLATFORM_MACOS, .version = 0x000a0e05 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_14_6 = { .platform = PLATFORM_MACOS, .version = 0x000a0e06 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_15 = { .platform = PLATFORM_MACOS, .version = 0x000a0f00 };
|
||||
static dyld_build_version_t dyld_platform_version_macOS_10_15_1 = { .platform = PLATFORM_MACOS, .version = 0x000a0f01 };
|
||||
|
||||
//@IOS_PLATFORM_VERSION_DEFS@
|
||||
static dyld_build_version_t dyld_platform_version_iOS_2_0 = { .platform = PLATFORM_IOS, .version = 0x00020000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_2_1 = { .platform = PLATFORM_IOS, .version = 0x00020100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_2_2 = { .platform = PLATFORM_IOS, .version = 0x00020200 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_3_0 = { .platform = PLATFORM_IOS, .version = 0x00030000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_3_1 = { .platform = PLATFORM_IOS, .version = 0x00030100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_3_2 = { .platform = PLATFORM_IOS, .version = 0x00030200 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_4_0 = { .platform = PLATFORM_IOS, .version = 0x00040000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_4_1 = { .platform = PLATFORM_IOS, .version = 0x00040100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_4_2 = { .platform = PLATFORM_IOS, .version = 0x00040200 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_4_3 = { .platform = PLATFORM_IOS, .version = 0x00040300 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_5_0 = { .platform = PLATFORM_IOS, .version = 0x00050000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_5_1 = { .platform = PLATFORM_IOS, .version = 0x00050100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_6_0 = { .platform = PLATFORM_IOS, .version = 0x00060000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_6_1 = { .platform = PLATFORM_IOS, .version = 0x00060100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_7_0 = { .platform = PLATFORM_IOS, .version = 0x00070000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_7_1 = { .platform = PLATFORM_IOS, .version = 0x00070100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_8_0 = { .platform = PLATFORM_IOS, .version = 0x00080000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_8_1 = { .platform = PLATFORM_IOS, .version = 0x00080100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_8_2 = { .platform = PLATFORM_IOS, .version = 0x00080200 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_8_3 = { .platform = PLATFORM_IOS, .version = 0x00080300 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_8_4 = { .platform = PLATFORM_IOS, .version = 0x00080400 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_9_0 = { .platform = PLATFORM_IOS, .version = 0x00090000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_9_1 = { .platform = PLATFORM_IOS, .version = 0x00090100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_9_2 = { .platform = PLATFORM_IOS, .version = 0x00090200 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_9_3 = { .platform = PLATFORM_IOS, .version = 0x00090300 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_10_0 = { .platform = PLATFORM_IOS, .version = 0x000a0000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_10_1 = { .platform = PLATFORM_IOS, .version = 0x000a0100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_10_2 = { .platform = PLATFORM_IOS, .version = 0x000a0200 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_10_3 = { .platform = PLATFORM_IOS, .version = 0x000a0300 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_11_0 = { .platform = PLATFORM_IOS, .version = 0x000b0000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_11_1 = { .platform = PLATFORM_IOS, .version = 0x000b0100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_11_2 = { .platform = PLATFORM_IOS, .version = 0x000b0200 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_11_3 = { .platform = PLATFORM_IOS, .version = 0x000b0300 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_11_4 = { .platform = PLATFORM_IOS, .version = 0x000b0400 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_12_0 = { .platform = PLATFORM_IOS, .version = 0x000c0000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_12_1 = { .platform = PLATFORM_IOS, .version = 0x000c0100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_12_2 = { .platform = PLATFORM_IOS, .version = 0x000c0200 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_12_3 = { .platform = PLATFORM_IOS, .version = 0x000c0300 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_12_4 = { .platform = PLATFORM_IOS, .version = 0x000c0400 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_13_0 = { .platform = PLATFORM_IOS, .version = 0x000d0000 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_13_1 = { .platform = PLATFORM_IOS, .version = 0x000d0100 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_13_2 = { .platform = PLATFORM_IOS, .version = 0x000d0200 };
|
||||
static dyld_build_version_t dyld_platform_version_iOS_13_3 = { .platform = PLATFORM_IOS, .version = 0x000d0300 };
|
||||
|
||||
//@WATCHOS_PLATFORM_VERSION_DEFS@
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_1_0 = { .platform = PLATFORM_WATCHOS, .version = 0x00010000 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_2_0 = { .platform = PLATFORM_WATCHOS, .version = 0x00020000 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_2_1 = { .platform = PLATFORM_WATCHOS, .version = 0x00020100 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_2_2 = { .platform = PLATFORM_WATCHOS, .version = 0x00020200 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_3_0 = { .platform = PLATFORM_WATCHOS, .version = 0x00030000 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_3_1 = { .platform = PLATFORM_WATCHOS, .version = 0x00030100 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_3_1_1 = { .platform = PLATFORM_WATCHOS, .version = 0x00030101 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_3_2 = { .platform = PLATFORM_WATCHOS, .version = 0x00030200 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_4_0 = { .platform = PLATFORM_WATCHOS, .version = 0x00040000 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_4_1 = { .platform = PLATFORM_WATCHOS, .version = 0x00040100 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_4_2 = { .platform = PLATFORM_WATCHOS, .version = 0x00040200 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_4_3 = { .platform = PLATFORM_WATCHOS, .version = 0x00040300 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_5_0 = { .platform = PLATFORM_WATCHOS, .version = 0x00050000 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_5_1 = { .platform = PLATFORM_WATCHOS, .version = 0x00050100 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_5_2 = { .platform = PLATFORM_WATCHOS, .version = 0x00050200 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_5_3 = { .platform = PLATFORM_WATCHOS, .version = 0x00050300 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_6_0 = { .platform = PLATFORM_WATCHOS, .version = 0x00060000 };
|
||||
static dyld_build_version_t dyld_platform_version_watchOS_6_1 = { .platform = PLATFORM_WATCHOS, .version = 0x00060100 };
|
||||
|
||||
//@TVOS_PLATFORM_VERSION_DEFS@
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_9_0 = { .platform = PLATFORM_TVOS, .version = 0x00090000 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_9_1 = { .platform = PLATFORM_TVOS, .version = 0x00090100 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_9_2 = { .platform = PLATFORM_TVOS, .version = 0x00090200 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_10_0 = { .platform = PLATFORM_TVOS, .version = 0x000a0000 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_10_0_1 = { .platform = PLATFORM_TVOS, .version = 0x000a0001 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_10_1 = { .platform = PLATFORM_TVOS, .version = 0x000a0100 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_10_2 = { .platform = PLATFORM_TVOS, .version = 0x000a0200 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_11_0 = { .platform = PLATFORM_TVOS, .version = 0x000b0000 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_11_1 = { .platform = PLATFORM_TVOS, .version = 0x000b0100 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_11_2 = { .platform = PLATFORM_TVOS, .version = 0x000b0200 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_11_3 = { .platform = PLATFORM_TVOS, .version = 0x000b0300 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_11_4 = { .platform = PLATFORM_TVOS, .version = 0x000b0400 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_12_0 = { .platform = PLATFORM_TVOS, .version = 0x000c0000 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_12_1 = { .platform = PLATFORM_TVOS, .version = 0x000c0100 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_12_2 = { .platform = PLATFORM_TVOS, .version = 0x000c0200 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_12_3 = { .platform = PLATFORM_TVOS, .version = 0x000c0300 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_12_4 = { .platform = PLATFORM_TVOS, .version = 0x000c0400 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_13_0 = { .platform = PLATFORM_TVOS, .version = 0x000d0000 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_13_2 = { .platform = PLATFORM_TVOS, .version = 0x000d0200 };
|
||||
static dyld_build_version_t dyld_platform_version_tvOS_13_3 = { .platform = PLATFORM_TVOS, .version = 0x000d0300 };
|
||||
|
||||
//@BRIDGEOS_PLATFORM_VERSION_DEFS@
|
||||
static dyld_build_version_t dyld_platform_version_bridgeOS_2_0 = { .platform = PLATFORM_BRIDGEOS, .version = 0x00020000 };
|
||||
static dyld_build_version_t dyld_platform_version_bridgeOS_3_0 = { .platform = PLATFORM_BRIDGEOS, .version = 0x00030000 };
|
||||
static dyld_build_version_t dyld_platform_version_bridgeOS_3_1 = { .platform = PLATFORM_BRIDGEOS, .version = 0x00030100 };
|
||||
static dyld_build_version_t dyld_platform_version_bridgeOS_3_4 = { .platform = PLATFORM_BRIDGEOS, .version = 0x00030400 };
|
||||
static dyld_build_version_t dyld_platform_version_bridgeOS_4_0 = { .platform = PLATFORM_BRIDGEOS, .version = 0x00040000 };
|
||||
static dyld_build_version_t dyld_platform_version_bridgeOS_4_1 = { .platform = PLATFORM_BRIDGEOS, .version = 0x00040100 };
|
||||
|
||||
// Convienence constants for return values from dyld_get_sdk_version() and friends.
|
||||
|
||||
//@MAC_VERSION_DEFS@
|
||||
#define DYLD_MACOSX_VERSION_10_0 0x000a0000
|
||||
#define DYLD_MACOSX_VERSION_10_1 0x000a0100
|
||||
#define DYLD_MACOSX_VERSION_10_2 0x000a0200
|
||||
#define DYLD_MACOSX_VERSION_10_3 0x000a0300
|
||||
#define DYLD_MACOSX_VERSION_10_4 0x000a0400
|
||||
#define DYLD_MACOSX_VERSION_10_5 0x000a0500
|
||||
#define DYLD_MACOSX_VERSION_10_6 0x000a0600
|
||||
#define DYLD_MACOSX_VERSION_10_7 0x000a0700
|
||||
#define DYLD_MACOSX_VERSION_10_8 0x000a0800
|
||||
#define DYLD_MACOSX_VERSION_10_9 0x000a0900
|
||||
#define DYLD_MACOSX_VERSION_10_10 0x000a0a00
|
||||
#define DYLD_MACOSX_VERSION_10_10_2 0x000a0a02
|
||||
#define DYLD_MACOSX_VERSION_10_10_3 0x000a0a03
|
||||
#define DYLD_MACOSX_VERSION_10_11 0x000a0b00
|
||||
#define DYLD_MACOSX_VERSION_10_11_2 0x000a0b02
|
||||
#define DYLD_MACOSX_VERSION_10_11_3 0x000a0b03
|
||||
#define DYLD_MACOSX_VERSION_10_11_4 0x000a0b04
|
||||
#define DYLD_MACOSX_VERSION_10_12 0x000a0c00
|
||||
#define DYLD_MACOSX_VERSION_10_12_1 0x000a0c01
|
||||
#define DYLD_MACOSX_VERSION_10_12_2 0x000a0c02
|
||||
#define DYLD_MACOSX_VERSION_10_12_4 0x000a0c04
|
||||
#define DYLD_MACOSX_VERSION_10_13 0x000a0d00
|
||||
#define DYLD_MACOSX_VERSION_10_13_1 0x000a0d01
|
||||
#define DYLD_MACOSX_VERSION_10_13_2 0x000a0d02
|
||||
#define DYLD_MACOSX_VERSION_10_13_4 0x000a0d04
|
||||
#define DYLD_MACOSX_VERSION_10_14 0x000a0e00
|
||||
#define DYLD_MACOSX_VERSION_10_14_1 0x000a0e01
|
||||
#define DYLD_MACOSX_VERSION_10_14_4 0x000a0e04
|
||||
#define DYLD_MACOSX_VERSION_10_14_5 0x000a0e05
|
||||
#define DYLD_MACOSX_VERSION_10_14_6 0x000a0e06
|
||||
#define DYLD_MACOSX_VERSION_10_15 0x000a0f00
|
||||
#define DYLD_MACOSX_VERSION_10_15_1 0x000a0f01
|
||||
|
||||
//@IOS_VERSION_DEFS@
|
||||
#define DYLD_IOS_VERSION_2_0 0x00020000
|
||||
#define DYLD_IOS_VERSION_2_1 0x00020100
|
||||
#define DYLD_IOS_VERSION_2_2 0x00020200
|
||||
#define DYLD_IOS_VERSION_3_0 0x00030000
|
||||
#define DYLD_IOS_VERSION_3_1 0x00030100
|
||||
#define DYLD_IOS_VERSION_3_2 0x00030200
|
||||
#define DYLD_IOS_VERSION_4_0 0x00040000
|
||||
#define DYLD_IOS_VERSION_4_1 0x00040100
|
||||
#define DYLD_IOS_VERSION_4_2 0x00040200
|
||||
#define DYLD_IOS_VERSION_4_3 0x00040300
|
||||
#define DYLD_IOS_VERSION_5_0 0x00050000
|
||||
#define DYLD_IOS_VERSION_5_1 0x00050100
|
||||
#define DYLD_IOS_VERSION_6_0 0x00060000
|
||||
#define DYLD_IOS_VERSION_6_1 0x00060100
|
||||
#define DYLD_IOS_VERSION_7_0 0x00070000
|
||||
#define DYLD_IOS_VERSION_7_1 0x00070100
|
||||
#define DYLD_IOS_VERSION_8_0 0x00080000
|
||||
#define DYLD_IOS_VERSION_8_1 0x00080100
|
||||
#define DYLD_IOS_VERSION_8_2 0x00080200
|
||||
#define DYLD_IOS_VERSION_8_3 0x00080300
|
||||
#define DYLD_IOS_VERSION_8_4 0x00080400
|
||||
#define DYLD_IOS_VERSION_9_0 0x00090000
|
||||
#define DYLD_IOS_VERSION_9_1 0x00090100
|
||||
#define DYLD_IOS_VERSION_9_2 0x00090200
|
||||
#define DYLD_IOS_VERSION_9_3 0x00090300
|
||||
#define DYLD_IOS_VERSION_10_0 0x000a0000
|
||||
#define DYLD_IOS_VERSION_10_1 0x000a0100
|
||||
#define DYLD_IOS_VERSION_10_2 0x000a0200
|
||||
#define DYLD_IOS_VERSION_10_3 0x000a0300
|
||||
#define DYLD_IOS_VERSION_11_0 0x000b0000
|
||||
#define DYLD_IOS_VERSION_11_1 0x000b0100
|
||||
#define DYLD_IOS_VERSION_11_2 0x000b0200
|
||||
#define DYLD_IOS_VERSION_11_3 0x000b0300
|
||||
#define DYLD_IOS_VERSION_11_4 0x000b0400
|
||||
#define DYLD_IOS_VERSION_12_0 0x000c0000
|
||||
#define DYLD_IOS_VERSION_12_1 0x000c0100
|
||||
#define DYLD_IOS_VERSION_12_2 0x000c0200
|
||||
#define DYLD_IOS_VERSION_12_3 0x000c0300
|
||||
#define DYLD_IOS_VERSION_12_4 0x000c0400
|
||||
#define DYLD_IOS_VERSION_13_0 0x000d0000
|
||||
#define DYLD_IOS_VERSION_13_1 0x000d0100
|
||||
#define DYLD_IOS_VERSION_13_2 0x000d0200
|
||||
#define DYLD_IOS_VERSION_13_3 0x000d0300
|
||||
|
||||
//@WATCHOS_VERSION_DEFS@
|
||||
#define DYLD_WATCHOS_VERSION_1_0 0x00010000
|
||||
#define DYLD_WATCHOS_VERSION_2_0 0x00020000
|
||||
#define DYLD_WATCHOS_VERSION_2_1 0x00020100
|
||||
#define DYLD_WATCHOS_VERSION_2_2 0x00020200
|
||||
#define DYLD_WATCHOS_VERSION_3_0 0x00030000
|
||||
#define DYLD_WATCHOS_VERSION_3_1 0x00030100
|
||||
#define DYLD_WATCHOS_VERSION_3_1_1 0x00030101
|
||||
#define DYLD_WATCHOS_VERSION_3_2 0x00030200
|
||||
#define DYLD_WATCHOS_VERSION_4_0 0x00040000
|
||||
#define DYLD_WATCHOS_VERSION_4_1 0x00040100
|
||||
#define DYLD_WATCHOS_VERSION_4_2 0x00040200
|
||||
#define DYLD_WATCHOS_VERSION_4_3 0x00040300
|
||||
#define DYLD_WATCHOS_VERSION_5_0 0x00050000
|
||||
#define DYLD_WATCHOS_VERSION_5_1 0x00050100
|
||||
#define DYLD_WATCHOS_VERSION_5_2 0x00050200
|
||||
#define DYLD_WATCHOS_VERSION_5_3 0x00050300
|
||||
#define DYLD_WATCHOS_VERSION_6_0 0x00060000
|
||||
#define DYLD_WATCHOS_VERSION_6_1 0x00060100
|
||||
|
||||
//@TVOS_VERSION_DEFS@
|
||||
#define DYLD_TVOS_VERSION_9_0 0x00090000
|
||||
#define DYLD_TVOS_VERSION_9_1 0x00090100
|
||||
#define DYLD_TVOS_VERSION_9_2 0x00090200
|
||||
#define DYLD_TVOS_VERSION_10_0 0x000a0000
|
||||
#define DYLD_TVOS_VERSION_10_0_1 0x000a0001
|
||||
#define DYLD_TVOS_VERSION_10_1 0x000a0100
|
||||
#define DYLD_TVOS_VERSION_10_2 0x000a0200
|
||||
#define DYLD_TVOS_VERSION_11_0 0x000b0000
|
||||
#define DYLD_TVOS_VERSION_11_1 0x000b0100
|
||||
#define DYLD_TVOS_VERSION_11_2 0x000b0200
|
||||
#define DYLD_TVOS_VERSION_11_3 0x000b0300
|
||||
#define DYLD_TVOS_VERSION_11_4 0x000b0400
|
||||
#define DYLD_TVOS_VERSION_12_0 0x000c0000
|
||||
#define DYLD_TVOS_VERSION_12_1 0x000c0100
|
||||
#define DYLD_TVOS_VERSION_12_2 0x000c0200
|
||||
#define DYLD_TVOS_VERSION_12_3 0x000c0300
|
||||
#define DYLD_TVOS_VERSION_12_4 0x000c0400
|
||||
#define DYLD_TVOS_VERSION_13_0 0x000d0000
|
||||
#define DYLD_TVOS_VERSION_13_2 0x000d0200
|
||||
#define DYLD_TVOS_VERSION_13_3 0x000d0300
|
||||
|
||||
//@BRIDGEOS_VERSION_DEFS@
|
||||
#define DYLD_BRIDGEOS_VERSION_2_0 0x00020000
|
||||
#define DYLD_BRIDGEOS_VERSION_3_0 0x00030000
|
||||
#define DYLD_BRIDGEOS_VERSION_3_1 0x00030100
|
||||
#define DYLD_BRIDGEOS_VERSION_3_4 0x00030400
|
||||
#define DYLD_BRIDGEOS_VERSION_4_0 0x00040000
|
||||
#define DYLD_BRIDGEOS_VERSION_4_1 0x00040100
|
||||
|
||||
//
|
||||
// This finds the SDK version a binary was built against.
|
||||
|
Loading…
Reference in New Issue
Block a user