JavaScriptCore:
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 26 Aug 2007 13:20:31 +0000 (13:20 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 26 Aug 2007 13:20:31 +0000 (13:20 +0000)
        Reviewed by Mark Rowe and David Kilzer.

        Fix build failure on arm.

        * wtf/Platform.h: Also test if __arm__ is defined.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25253 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/wtf/Platform.h

index b4a57d5be6f013fed24d6a2f7634ba3fe00545b1..53f39c6046ab7882ff74816b5c36ee87006f28e8 100644 (file)
@@ -1,3 +1,11 @@
+2007-08-26  Mike Hommey  <glandium@debian.org>
+
+        Reviewed by Mark Rowe and David Kilzer.
+
+        Fix build failure on arm.
+
+        * wtf/Platform.h: Also test if __arm__ is defined.
+
 2007-08-25  Peter Kasting <zerodpx@gmail.org>
 
         Reviewed by Maciej Stachowiak.
index cdc57061a5ee9c8318d8af36cf91a9d93b44da5b..533230e86f0ddcd9bce6d418e92974ce02839a74 100644 (file)
 #define WTF_PLATFORM_BIG_ENDIAN 1
 #endif
 
-#if defined(arm)
+#if   defined(arm) \
+   || defined(__arm__)
 #define WTF_PLATFORM_ARM 1
 #define WTF_PLATFORM_MIDDLE_ENDIAN 1
 #endif