Adding #warning macros when SystemConfiguration or CoreServices frameworks are missing, causing functionality to be missing or altered
This commit is contained in:
parent
a2fc510f72
commit
e7c786eee7
@ -78,6 +78,12 @@ typedef enum {
|
||||
AFNetworkReachabilityStatusReachableViaWWAN = 1,
|
||||
AFNetworkReachabilityStatusReachableViaWiFi = 2,
|
||||
} AFNetworkReachabilityStatus;
|
||||
#else
|
||||
#warning "SystemConfiguration framework not found in project, or not included in precompiled header. Network reachability functionality will not be available."
|
||||
#endif
|
||||
|
||||
#ifndef __UTTYPE__
|
||||
#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."
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user