diff options
Diffstat (limited to 'SmartDeviceLink-iOS/SmartDeviceLink/SDLGlobals.h')
-rw-r--r-- | SmartDeviceLink-iOS/SmartDeviceLink/SDLGlobals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SmartDeviceLink-iOS/SmartDeviceLink/SDLGlobals.h b/SmartDeviceLink-iOS/SmartDeviceLink/SDLGlobals.h index 03bc9afed..b3778f62e 100644 --- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLGlobals.h +++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLGlobals.h @@ -8,6 +8,8 @@ #import <Foundation/Foundation.h> +#define SDL_SYSTEM_VERSION_LESS_THAN(version) ([[[UIDevice currentDevice] systemVersion] compare:version options:NSNumericSearch] == NSOrderedAscending) + @interface SDLGlobals : NSObject @property (assign, nonatomic, readonly) NSUInteger protocolVersion; |