Browse Source

VLCKit: fix Mac-specific prefix header

Felix Paul Kühne 12 years ago
parent
commit
ebfb82f5de
1 changed files with 5 additions and 8 deletions
  1. 5 8
      VLC_Prefix.pch

+ 5 - 8
VLC_Prefix.pch

@@ -3,16 +3,8 @@
 //
 
 
-#ifdef __IPHONE_OS_VERSION_MIN_REQUIRED
-# define IPHONE_OS
-#endif
-
 #ifdef __OBJC__
-# ifndef IPHONE_OS
 #  import <Cocoa/Cocoa.h>
-# else
-#  import <UIKit/UIKit.h>
-# endif
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -23,3 +15,8 @@
 #include <vlc/libvlc_structures.h>
 #include <vlc/libvlc.h>
 
+#ifndef NDEBUG
+#define VKLog(format, ...) NSLog(format, ## __VA_ARGS__)
+#else
+#define VKLog(format, ...)
+#endif