diff --git a/AFNetworking/AFHTTPClient.h b/AFNetworking/AFHTTPClient.h index ddc75dd..2e5d504 100644 --- a/AFNetworking/AFHTTPClient.h +++ b/AFNetworking/AFHTTPClient.h @@ -81,14 +81,14 @@ typedef enum { AFNetworkReachabilityStatusReachableViaWiFi = 2, } AFNetworkReachabilityStatus; #else -#warning SystemConfiguration framework not found in project, or not included in precompiled header. Network reachability functionality will not be available. +#pragma message("SystemConfiguration framework not found in project, or not included in precompiled header. Network reachability functionality will not be available.") #endif #ifndef __UTTYPE__ #if __IPHONE_OS_VERSION_MIN_REQUIRED -#warning MobileCoreServices framework not found in project, or not included in precompiled header. Automatic MIME type detection when uploading files in multipart requests will not be available. +#pragma message("MobileCoreServices framework not found in project, or not included in precompiled header. Automatic MIME type detection when uploading files in multipart requests will not be available.") #else -#warning CoreServices framework not found in project, or not included in precompiled header. Automatic MIME type detection when uploading files in multipart requests will not be available. +#pragma message("CoreServices framework not found in project, or not included in precompiled header. Automatic MIME type detection when uploading files in multipart requests will not be available.") #endif #endif