summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/javascriptcore
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-11-05 12:10:19 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-11-11 11:17:28 (GMT)
commit223b5de63e56c6c3dfbc5000b460baa653ab3f75 (patch)
tree593e205d3fa06067eea4ce838ffd50f4098ef341 /src/3rdparty/javascriptcore
parent71d05ae1f212793b59c2f0fcb68ec5f21732073e (diff)
downloadQt-223b5de63e56c6c3dfbc5000b460baa653ab3f75.zip
Qt-223b5de63e56c6c3dfbc5000b460baa653ab3f75.tar.gz
Qt-223b5de63e56c6c3dfbc5000b460baa653ab3f75.tar.bz2
Fixed compilation on AIX 6.1 with xlC 10.1
Task-number: QTBUG-3368 Reviewed-by: Thiago Macieira
Diffstat (limited to 'src/3rdparty/javascriptcore')
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
index 73212db..9174dce 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
@@ -98,6 +98,10 @@
/* regardless of operating environment */
#if defined(_AIX)
#define WTF_PLATFORM_AIX 1
+/* 64-bit mode on AIX */
+#ifdef __64BIT__
+#define WTF_PLATFORM_AIX64 1
+#endif
#endif
/* PLATFORM(HPUX) */
@@ -704,6 +708,8 @@
#define WTF_USE_JSVALUE64 1
#elif (PLATFORM(IA64) && !PLATFORM(IA64_32)) || PLATFORM(SPARC64)
#define WTF_USE_JSVALUE64 1
+#elif PLATFORM(AIX64)
+#define WTF_USE_JSVALUE64 1
#elif PLATFORM(ARM) || PLATFORM(PPC64)
#define WTF_USE_JSVALUE32 1
#elif PLATFORM(WIN_OS) && COMPILER(MINGW)