From 76b7998e4f424b8258049b6483b205784477d280 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Wed, 30 May 2012 16:03:55 +0200 Subject: [PATCH] osxvideosink: Fix last commit to actually work MAC_OS_X_VERSION_10_6 is obviously not defined on 10.5. --- sys/osxvideo/osxvideosink.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/osxvideo/osxvideosink.h b/sys/osxvideo/osxvideosink.h index d1cff840e3..2d18f137c9 100644 --- a/sys/osxvideo/osxvideosink.h +++ b/sys/osxvideo/osxvideosink.h @@ -107,10 +107,10 @@ GType gst_osx_video_sink_get_type(void); @end -#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6 -@interface GstWindowDelegate : NSObject -#else +#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5 @interface GstWindowDelegate : NSObject +#else +@interface GstWindowDelegate : NSObject #endif { @public