From 1d1c0241a9c016c441e3b2e66565dcf62449cf1f Mon Sep 17 00:00:00 2001 From: Caelin Jackson-King Date: Mon, 2 Jul 2018 17:00:18 -0700 Subject: [PATCH] Replace the version numbers with raw values --- AFNetworking/AFCompatibilityMacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AFNetworking/AFCompatibilityMacros.h b/AFNetworking/AFCompatibilityMacros.h index ee741c94d2..cffbde2583 100644 --- a/AFNetworking/AFCompatibilityMacros.h +++ b/AFNetworking/AFCompatibilityMacros.h @@ -34,7 +34,7 @@ #define AF_CAN_USE_AT_AVAILABLE 0 #endif -#if ((__IPHONE_OS_VERSION_MAX_ALLOWED && __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_10_0) || (__MAC_OS_VERSION_MAX_ALLOWED && __MAC_OS_VERSION_MAX_ALLOWED < __MAC_OS_10_12) ||(__WATCH_OS_MAX_VERSION_ALLOWED && __WATCH_OS_MAX_VERSION_ALLOWED < __WATCH_OS_3_0) ||(__TV_OS_MAX_VERSION_ALLOWED && __TV_OS_MAX_VERSION_ALLOWED < __TV_OS_10_0)) +#if ((__IPHONE_OS_VERSION_MAX_ALLOWED && __IPHONE_OS_VERSION_MAX_ALLOWED < 100000) || (__MAC_OS_VERSION_MAX_ALLOWED && __MAC_OS_VERSION_MAX_ALLOWED < 101200) ||(__WATCH_OS_MAX_VERSION_ALLOWED && __WATCH_OS_MAX_VERSION_ALLOWED < 30000) ||(__TV_OS_MAX_VERSION_ALLOWED && __TV_OS_MAX_VERSION_ALLOWED < 100000)) #define AF_CAN_INCLUDE_SESSION_TASK_METRICS 0 #else #define AF_CAN_INCLUDE_SESSION_TASK_METRICS 1