osxvideosink: Fix build on updated OS X Leopard
authorJeremy Huddleston <jeremyhu@freedesktop.org>
Tue, 31 Dec 2013 09:07:22 +0000 (10:07 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 31 Dec 2013 09:11:24 +0000 (10:11 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=721245

sys/osxvideo/osxvideosink.h

index da912df..ce55c7f 100644 (file)
@@ -42,7 +42,7 @@ GST_DEBUG_CATEGORY_EXTERN (gst_debug_osx_video_sink);
 
 /* The hack doesn't work on leopard, the _CFMainPThread symbol
  * is doesn't exist in the CoreFoundation library */
-#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5
+#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
 #ifdef RUN_NS_APP_THREAD
 #undef RUN_NS_APP_THREAD
 #endif