summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/javascriptcore
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-09-28 08:40:47 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-09-28 08:55:35 (GMT)
commit50764a0609bb9ea7e14e33456e77dd14c447f7e3 (patch)
treecee4bc2757e5635418bf3bd23aa7b260f14540f9 /src/3rdparty/javascriptcore
parent8a9b2acacecd4e998944d567c4a5c064c40dc999 (diff)
downloadQt-50764a0609bb9ea7e14e33456e77dd14c447f7e3.zip
Qt-50764a0609bb9ea7e14e33456e77dd14c447f7e3.tar.gz
Qt-50764a0609bb9ea7e14e33456e77dd14c447f7e3.tar.bz2
JavaScriptCore compile fix for Windows CE on ARM
Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/3rdparty/javascriptcore')
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
index cc40336..39cafab 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
@@ -257,7 +257,8 @@
#define WTF_PLATFORM_MIDDLE_ENDIAN 1
#endif
#define ARM_ARCH_VERSION 3
-#if defined(__ARM_ARCH_4__) || defined(__ARM_ARCH_4T__)
+#if defined(__ARM_ARCH_4__) || defined(__ARM_ARCH_4T__) || defined(ARMV4I) \
+ || defined(_ARMV4I_) || defined(armv4i)
#undef ARM_ARCH_VERSION
#define ARM_ARCH_VERSION 4
#endif