summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien Freling <fabien.freling@nokia.com>2011-03-04 10:41:48 (GMT)
committerFabien Freling <fabien.freling@nokia.com>2011-03-04 11:15:20 (GMT)
commit0229691e76484547c5265ff31777d235218b1156 (patch)
tree6548175e64bc68ff4c8887b9d18d341df7fa5d82
parent40d090ee98ac9088f3fb40c1778f84fd516f5bee (diff)
downloadQt-0229691e76484547c5265ff31777d235218b1156.zip
Qt-0229691e76484547c5265ff31777d235218b1156.tar.gz
Qt-0229691e76484547c5265ff31777d235218b1156.tar.bz2
Fix preprocessor directive.
Reviewed-by: Andreas Kling Reviewed-by: Tor Arne Vestbø Reviewed-by: Morten Sørvig
-rw-r--r--src/gui/kernel/qt_cocoa_helpers_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qt_cocoa_helpers_mac.mm b/src/gui/kernel/qt_cocoa_helpers_mac.mm
index 98f62ca..1a93e8e 100644
--- a/src/gui/kernel/qt_cocoa_helpers_mac.mm
+++ b/src/gui/kernel/qt_cocoa_helpers_mac.mm
@@ -184,7 +184,7 @@ struct dndenum_mapper
bool Qt2Mac;
};
-#ifdef QT_MAC_USE_COCOA && __OBJC__
+#if defined(QT_MAC_USE_COCOA) && defined(__OBJC__)
static dndenum_mapper dnd_enums[] = {
{ NSDragOperationLink, Qt::LinkAction, true },