Commit 87ebc762 authored by hausmann@webkit.org's avatar hausmann@webkit.org

2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Use the GCC defines of the WTF_ALIGN* macros for the RVCT and the
        MINSCW compiler.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2bd8e235
......@@ -23,6 +23,15 @@
* wtf/Platform.h:
2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
Reviewed by Simon Hausmann.
Use the GCC defines of the WTF_ALIGN* macros for the RVCT and the
MINSCW compiler.
* wtf/Vector.h:
2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
Reviewed by Simon Hausmann.
......
......@@ -37,7 +37,7 @@ namespace WTF {
using std::max;
// WTF_ALIGN_OF / WTF_ALIGNED
#if COMPILER(GCC) || COMPILER(MINGW)
#if COMPILER(GCC) || COMPILER(MINGW) || COMPILER(RVCT) || COMPILER(WINSCW)
#define WTF_ALIGN_OF(type) __alignof__(type)
#define WTF_ALIGNED(variable_type, variable, n) variable_type variable __attribute__((__aligned__(n)))
#elif COMPILER(MSVC)
......
Markdown is supported
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