// // Prefix header for all source files of the 'vlc-ios' target in the 'VLC for iOS' project // #import #ifndef __IPHONE_4_0 #warning "This project uses features only available in iOS SDK 4.0 and later." #endif #ifdef __OBJC__ #import #import #endif #import #import #import "VLCConstants.h" #import "VLCFixups.h" #define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending) #ifdef __IPHONE_7_0 #define SYSTEM_RUNS_IOS7_OR_LATER SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"7.0") #else #define SYSTEM_RUNS_IOS7_OR_LATER NO #endif #ifndef NDEBUG #define APLog(format, ...) NSLog(format, ## __VA_ARGS__) #else #define APLog(format, ...) #endif