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:
Mark Liversedge
2011-11-03 11:12:35 +00:00
parent 1f22545197
commit e9bfa20f08

View File

@@ -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