summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-03-17 16:40:42 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2015-03-17 16:40:42 +0100
commit8cd7557cb45f8732f253a5242c3843c154219d5b (patch)
tree42c4b08aa2235ac7181395a5ab1f21006d0ee9fa /src
parente7af7ee0156aac6d142ad5daf1fec56d68b3e0e8 (diff)
parent12f3a1f3172f24bfbcfd8c8d47e7e0fc9b451f45 (diff)
downloadqtscript-8cd7557cb45f8732f253a5242c3843c154219d5b.tar.gz
Merge remote-tracking branch 'origin/5.5' into dev
Change-Id: Icbbf8cc78ef730c6ea6fbc02136a2d0a8f9690c5
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
index cd60d43..00caa6d 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
@@ -190,15 +190,19 @@
|| defined(_M_PPC) \
|| defined(__PPC)
#define WTF_CPU_PPC 1
+#ifndef __LITTLE_ENDIAN__
#define WTF_CPU_BIG_ENDIAN 1
#endif
+#endif
/* CPU(PPC64) - PowerPC 64-bit */
#if defined(__ppc64__) \
|| defined(__PPC64__)
#define WTF_CPU_PPC64 1
+#ifndef __LITTLE_ENDIAN__
#define WTF_CPU_BIG_ENDIAN 1
#endif
+#endif
/* CPU(SH4) - SuperH SH-4 */
#if defined(__SH4__)