Commit 3ca750e6 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

pch: remove a hack and cleanup

parent d7284efb
// /*****************************************************************************
// Prefix header for all source files of the 'vlc-ios' target in the 'VLC for iOS' project * Prefix header for all source files of the 'vlc-ios' target
// * VLC for iOS
*****************************************************************************
* Copyright (c) 2013 VideoLAN. All rights reserved.
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne # videolan.org>
*
* Refer to the COPYING file of the official project for license.
*****************************************************************************/
#import <Availability.h> #import <Availability.h>
#ifndef __IPHONE_4_0 #ifndef __IPHONE_7_0
#warning "This project uses features only available in iOS SDK 4.0 and later." #error "This project uses features only available in iOS SDK 7.0 and later."
#endif #endif
#ifdef __OBJC__ #ifdef __OBJC__
...@@ -20,14 +28,10 @@ ...@@ -20,14 +28,10 @@
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending) #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") #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 #ifndef NDEBUG
#define APLog(format, ...) NSLog(format, ## __VA_ARGS__) #define APLog(format, ...) NSLog(format, ## __VA_ARGS__)
#else #else
#define APLog(format, ...) #define APLog(format, ...)
#endif #endif
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment