From e9bfa20f08b730098c712e0fd495ff3869b94b9a Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Thu, 3 Nov 2011 11:12:35 +0000 Subject: [PATCH] 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. --- src/LionFullScreen.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/LionFullScreen.h b/src/LionFullScreen.h index 0d7696600..43a7c40dc 100644 --- a/src/LionFullScreen.h +++ b/src/LionFullScreen.h @@ -17,7 +17,9 @@ */ // What versions are supported by this SDK? +#ifdef Q_OS_MAC #include +#endif #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 #ifndef _GC_LionFullScreen_h