Commit bfd4c7ae authored by Tor Arne Vestbø's avatar Tor Arne Vestbø Committed by The Qt Project
Browse files

Don't pretend to be PLATFORM(IPHONE) or PLATFORM(IPHONE_SIMULATOR)


As that ends up triggering other code paths such as JIT on ARM.

Change-Id: I14238c0913bd60e07de5015a82bcde0ab08a3a19
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
parent b95d7d34
No related merge requests found
Showing with 2 additions and 0 deletions
...@@ -509,6 +509,7 @@ ...@@ -509,6 +509,7 @@
#define WTF_PLATFORM_WIN 1 #define WTF_PLATFORM_WIN 1
#endif #endif
#if !PLATFORM(QT)
/* PLATFORM(IPHONE) */ /* PLATFORM(IPHONE) */
/* FIXME: this is sometimes used as an OS switch and sometimes for higher-level things */ /* FIXME: this is sometimes used as an OS switch and sometimes for higher-level things */
#if (defined(TARGET_OS_EMBEDDED) && TARGET_OS_EMBEDDED) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) #if (defined(TARGET_OS_EMBEDDED) && TARGET_OS_EMBEDDED) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
...@@ -526,6 +527,7 @@ ...@@ -526,6 +527,7 @@
#if !defined(WTF_PLATFORM_IPHONE) #if !defined(WTF_PLATFORM_IPHONE)
#define WTF_PLATFORM_IPHONE 0 #define WTF_PLATFORM_IPHONE 0
#endif #endif
#endif
/* PLATFORM(ANDROID) */ /* PLATFORM(ANDROID) */
/* FIXME: this is sometimes used as an OS() switch, and other times to drive /* FIXME: this is sometimes used as an OS() switch, and other times to drive
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment