changeset 35068:93f15b7e12c0

Fix compilation on OSX 10.5
author reimar
date Tue, 11 Sep 2012 19:36:19 +0000
parents 3702a2b88d12
children 90a2e4fedfab
files libvo/vo_corevideo.h
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_corevideo.h	Tue Sep 11 19:25:21 2012 +0000
+++ b/libvo/vo_corevideo.h	Tue Sep 11 19:36:19 2012 +0000
@@ -39,7 +39,10 @@
 - (void) ontop;
 @end
 
-@interface MPlayerOpenGLView : NSOpenGLView<NSWindowDelegate>
+@interface MPlayerOpenGLView : NSOpenGLView
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
+<NSWindowDelegate>
+#endif
 {
 	//Cocoa
 	NSWindow *window;