From bf3f86e66edcc22d787a99198118e7b2ad71ecd9 Mon Sep 17 00:00:00 2001
From: lipengwei <lipengwei@nianben.com>
Date: Tue, 07 Jul 2020 08:43:24 +0800
Subject: [PATCH] 2.1.1

---
 frameworks/AFNetworking.framework/Headers/AFCompatibilityMacros.h |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/frameworks/AFNetworking.framework/Headers/AFCompatibilityMacros.h b/frameworks/AFNetworking.framework/Headers/AFCompatibilityMacros.h
old mode 100755
new mode 100644
index cffbde2..1f0ab26
--- a/frameworks/AFNetworking.framework/Headers/AFCompatibilityMacros.h
+++ b/frameworks/AFNetworking.framework/Headers/AFCompatibilityMacros.h
@@ -22,10 +22,16 @@
 #ifndef AFCompatibilityMacros_h
 #define AFCompatibilityMacros_h
 
-#ifdef API_UNAVAILABLE
-    #define AF_API_UNAVAILABLE(x) API_UNAVAILABLE(x)
+#ifdef API_AVAILABLE
+    #define AF_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
 #else
-    #define AF_API_UNAVAILABLE(x)
+    #define AF_API_AVAILABLE(...)
+#endif // API_AVAILABLE
+
+#ifdef API_UNAVAILABLE
+    #define AF_API_UNAVAILABLE(...) API_UNAVAILABLE(__VA_ARGS__)
+#else
+    #define AF_API_UNAVAILABLE(...)
 #endif // API_UNAVAILABLE
 
 #if __has_warning("-Wunguarded-availability-new")

--
Gitblit v1.8.0