summaryrefslogtreecommitdiffstats
path: root/tests/auto/shared
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2014-01-16 11:11:06 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-17 11:04:43 +0100
commit04b8af2739bb68b4c9648225c16cf6a515745fff (patch)
treebcee45b9fd4d0d9a07e3d360a26998a118c89c71 /tests/auto/shared
parent64b385a82f715e74fba6086cafc32c948ce62f3b (diff)
iOS: Fix compilation of some basic tests
The tests themselves may not actually pass, but it's a start, and allows us to sanity-build a few things in the CI that actually produces a final binary. Change-Id: I02643b6ffa1522de1a7d17d737c8ab45ffac6a93 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/shared')
-rw-r--r--tests/auto/shared/platformclipboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/shared/platformclipboard.h b/tests/auto/shared/platformclipboard.h
index a430beef93..455ad9b276 100644
--- a/tests/auto/shared/platformclipboard.h
+++ b/tests/auto/shared/platformclipboard.h
@@ -44,7 +44,7 @@
#include <qglobal.h>
-#ifdef Q_OS_MAC
+#ifdef Q_OS_OSX
#include <Carbon/Carbon.h>
#endif
@@ -54,7 +54,7 @@ struct PlatformClipboard
{
#if defined(QT_NO_CLIPBOARD)
return false;
-#elif defined(Q_OS_MAC)
+#elif defined(Q_OS_OSX)
PasteboardRef pasteboard;
OSStatus status = PasteboardCreate(0, &pasteboard);
if (status == noErr)