From 04b8af2739bb68b4c9648225c16cf6a515745fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Thu, 16 Jan 2014 11:11:06 +0100 Subject: 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 --- tests/auto/shared/platformclipboard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/shared/platformclipboard.h') 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 -#ifdef Q_OS_MAC +#ifdef Q_OS_OSX #include #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) -- cgit v1.2.3