Changeset 51183 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Nov 19, 2009, 5:46:38 AM (16 years ago)
Author:
Simon Hausmann
Message:

Build fix for 32-bit Sparc machines: these machines are big-endian.

Patch by Thiago Macieira <[email protected]> on 2009-11-19
Reviewed by Simon Hausmann.

  • wtf/Platform.h:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r51174 r51183  
     12009-11-19  Thiago Macieira <[email protected]>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        Build fix for 32-bit Sparc machines: these machines are big-endian.
     6
     7        * wtf/Platform.h:
     8
    192009-11-18  Laszlo Gombos  <[email protected]>
    210
  • trunk/JavaScriptCore/wtf/Platform.h

    r51032 r51183  
    224224#endif
    225225
     226/* PLATFORM(SPARC32) */
     227#if defined(__sparc) && !defined(__arch64__) || defined(__sparcv8)
     228#define WTF_PLATFORM_SPARC32 1
     229#define WTF_PLATFORM_BIG_ENDIAN 1
     230#endif
     231
     232#if PLATFORM(SPARC32) || PLATFORM(SPARC64)
     233#define WTF_PLATFORM_SPARC
     234#endif
     235
    226236/* PLATFORM(PPC64) */
    227237#if   defined(__ppc64__) \
Note: See TracChangeset for help on using the changeset viewer.