summaryrefslogtreecommitdiff
path: root/iPhonePrivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'iPhonePrivate.h')
-rw-r--r--iPhonePrivate.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/iPhonePrivate.h b/iPhonePrivate.h
index fd834c4..149fdc8 100644
--- a/iPhonePrivate.h
+++ b/iPhonePrivate.h
@@ -307,6 +307,7 @@ typedef enum {
// #ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER {{{
#ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
#define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
+// XXX: this is a random jumble of garbage
typedef enum {
UIModalPresentationFullScreen,
@@ -316,7 +317,6 @@ typedef enum {
} UIModalPresentationStyle;
#define kSCNetworkReachabilityFlagsConnectionOnTraffic kSCNetworkReachabilityFlagsConnectionAutomatic
-#define kSCNetworkReachabilityFlagsConnectionOnDemand (1 << 5)
#define UIBarStyleBlack UIBarStyleBlackOpaque
@@ -343,6 +343,13 @@ extern float const UIScrollViewDecelerationRateNormal;
#endif//AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
// }}}
+// #if __IPHONE_OS_VERSION_MIN_REQUIRED < 30000 {{{
+#if __IPHONE_OS_VERSION_MIN_REQUIRED < 30000
+
+#define kSCNetworkReachabilityFlagsConnectionOnDemand (1 << 5)
+
+#endif
+// }}}
// extern *; {{{
extern CFStringRef const kGSDisplayIdentifiersCapability;