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