diff --git a/Source/UIResponder+RMErrorRecovery.h b/Source/UIResponder+RMErrorRecovery.h index 9dd9c11..56baebf 100644 --- a/Source/UIResponder+RMErrorRecovery.h +++ b/Source/UIResponder+RMErrorRecovery.h @@ -21,6 +21,8 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // +#if TARGET_OS_IPHONE + #import /*! @@ -40,3 +42,5 @@ #endif @end + +#endif diff --git a/Source/UIResponder+RMErrorRecovery.m b/Source/UIResponder+RMErrorRecovery.m index fc38bd7..874b6eb 100644 --- a/Source/UIResponder+RMErrorRecovery.m +++ b/Source/UIResponder+RMErrorRecovery.m @@ -21,6 +21,8 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // +#if TARGET_OS_IPHONE + #if !defined(__has_feature) #define __has_feature(x) 0 #endif @@ -83,3 +85,5 @@ - (void)rm_presentError:(NSError *)error completionHandler:(void (^)(BOOL recove } @end + +#endif