summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/javascriptcore
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-03-29 12:06:12 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-03-29 13:24:19 (GMT)
commit97b2272e91e25418f63328c681cef54bdc1e43ff (patch)
treeeaa8c7a90344a4d60ca85362c4728bce281e0ccb /src/3rdparty/javascriptcore
parent5daac41683e679d869c586e8bdf9f184fd1e3557 (diff)
downloadQt-97b2272e91e25418f63328c681cef54bdc1e43ff.zip
Qt-97b2272e91e25418f63328c681cef54bdc1e43ff.tar.gz
Qt-97b2272e91e25418f63328c681cef54bdc1e43ff.tar.bz2
Update PLATFORM(SPARC64) to CPU(SPARC64)
Diffstat (limited to 'src/3rdparty/javascriptcore')
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
index 5b655e8..85c8743 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
@@ -239,7 +239,7 @@ inline int atomicDecrement(int volatile* addend) { return OSAtomicDecrement32Bar
inline int atomicIncrement(int volatile* addend) { return android_atomic_inc(addend); }
inline int atomicDecrement(int volatile* addend) { return android_atomic_dec(addend); }
-#elif COMPILER(GCC) && !PLATFORM(SPARC64) && !defined(__SYMBIAN32__) // sizeof(_Atomic_word) != sizeof(int) on sparc64 gcc
+#elif COMPILER(GCC) && !CPU(SPARC64) && !defined(__SYMBIAN32__) // sizeof(_Atomic_word) != sizeof(int) on sparc64 gcc
#define WTF_USE_LOCKFREE_THREADSAFESHARED 1
inline int atomicIncrement(int volatile* addend) { return __gnu_cxx::__exchange_and_add(addend, 1) + 1; }