mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
LionFullScreen.h moc error on non-Mac
Because of a bug in qmake we add LionFullScreen.h to the list of headers to ensure moc is called for the include. When adding AvailabilityMacros.h to the header it needed to check that we were compiling for a Mac.
This commit is contained in:
@@ -17,7 +17,9 @@
|
||||
*/
|
||||
|
||||
// What versions are supported by this SDK?
|
||||
#ifdef Q_OS_MAC
|
||||
#include <AvailabilityMacros.h>
|
||||
#endif
|
||||
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
|
||||
#ifndef _GC_LionFullScreen_h
|
||||
|
||||
Reference in New Issue
Block a user