mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Mac Video use GC_HAVE_LION
When compiling the Mac video stuff on Lion with SDK10.5 the code used a pre-processor directive to include code based upon the max version allowed. But if you are using an earlier SDK the max version allowed is still higher, so instead we use the GC_HAVE_LION define instead. This change only really affects anyone on Lion or higher building with an earlier version of the SDK.
This commit is contained in:
@@ -117,7 +117,7 @@ void VideoWindow::mediaSelected(QString filename)
|
||||
NSDictionary *attributes = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
file, QTMovieFileNameAttribute,
|
||||
num, QTMovieLoopsAttribute,
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
|
||||
#ifdef GC_HAVE_LION
|
||||
num, QTMovieOpenForPlaybackAttribute,
|
||||
#endif
|
||||
nil];
|
||||
|
||||
Reference in New Issue
Block a user