forked from qt-creator/qt-creator
Mac: Fix for compilation with 4.7.4
qglobal from 4.7.4 doesn't define MAC_OS_X_VERSION_10_7 Change-Id: Ia152108b52b92b65916002df76065e4eb95dc8a0 Reviewed-by: Bill King <bill.king@nokia.com>
This commit is contained in:
@@ -37,8 +37,9 @@
|
|||||||
#include <Foundation/NSNotification.h>
|
#include <Foundation/NSNotification.h>
|
||||||
|
|
||||||
#include <QSysInfo>
|
#include <QSysInfo>
|
||||||
|
#include <qglobal.h>
|
||||||
|
|
||||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
|
#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_6
|
||||||
enum {
|
enum {
|
||||||
NSWindowCollectionBehaviorFullScreenPrimary = (1 << 7)
|
NSWindowCollectionBehaviorFullScreenPrimary = (1 << 7)
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user