Changeset 31176 in webkit for trunk/JavaScriptCore/wtf/Platform.h


Ignore:
Timestamp:
Mar 20, 2008, 7:33:19 AM (17 years ago)
Author:
[email protected]
Message:

2008-03-20 David Krause <[email protected]>

Reviewed by David Kilzer.

Fix http://bugs.webkit.org/show_bug.cgi?id=17923
Bug 17923: ARM platform endian defines inaccurate

  • wtf/Platform.h: Replaced !defined(ARMEL) check with !defined(VFP_FP) for PLATFORM(MIDDLE_ENDIAN)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Platform.h

    r31115 r31176  
    149149#if defined(__ARMEB__)
    150150#define WTF_PLATFORM_BIG_ENDIAN 1
    151 #elif !defined(__ARM_EABI__) && !defined(__ARMEB__) && !defined(__ARMEL__)
     151#elif !defined(__ARM_EABI__) && !defined(__ARMEB__) && !defined(__VFP_FP__)
    152152#define WTF_PLATFORM_MIDDLE_ENDIAN 1
    153153#endif
Note: See TracChangeset for help on using the changeset viewer.