osxvideosink: Fix build on updated OS X Leopard

https://bugzilla.gnome.org/show_bug.cgi?id=721245
This commit is contained in:
Jeremy Huddleston 2013-12-31 10:07:22 +01:00 committed by Sebastian Dröge
parent 711c73290c
commit 3d163680f0

View file

@ -42,7 +42,7 @@ GST_DEBUG_CATEGORY_EXTERN (gst_debug_osx_video_sink);
/* The hack doesn't work on leopard, the _CFMainPThread symbol /* The hack doesn't work on leopard, the _CFMainPThread symbol
* is doesn't exist in the CoreFoundation library */ * 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 #ifdef RUN_NS_APP_THREAD
#undef RUN_NS_APP_THREAD #undef RUN_NS_APP_THREAD
#endif #endif