Changeset 54717 in webkit


Ignore:
Timestamp:
Feb 12, 2010 2:20:22 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-02-12 Kwang Yul Seo <skyul@company100.net>

Reviewed by Adam Barth.

Typedef both JSChar and UChar to wchar_t in RVCT.
https://bugs.webkit.org/show_bug.cgi?id=34560

Define both JSChar and UChar to wchar_t as the size
of wchar_t is 2 bytes in RVCT.

  • API/JSStringRef.h:
  • wtf/unicode/qt4/UnicodeQt4.h:
Location:
trunk/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSStringRef.h

    r48711 r54717  
    3838#endif
    3939
    40 #if !defined(WIN32) && !defined(_WIN32) && !defined(__WINSCW__)
     40#if !defined(WIN32) && !defined(_WIN32) && !defined(__WINSCW__) \
     41    && !(defined(__CC_ARM) || defined(__ARMCC__)) /* RVCT */
    4142/*!
    4243@typedef JSChar
  • trunk/JavaScriptCore/ChangeLog

    r54701 r54717  
     12010-02-12  Kwang Yul Seo  <skyul@company100.net>
     2
     3        Reviewed by Adam Barth.
     4
     5        Typedef both JSChar and UChar to wchar_t in RVCT.
     6        https://bugs.webkit.org/show_bug.cgi?id=34560
     7
     8        Define both JSChar and UChar to wchar_t as the size
     9        of wchar_t is 2 bytes in RVCT.
     10
     11        * API/JSStringRef.h:
     12        * wtf/unicode/qt4/UnicodeQt4.h:
     13
    1142010-02-11  Geoffrey Garen  <ggaren@apple.com>
    215
  • trunk/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h

    r51174 r54717  
    5757
    5858// ugly hack to make UChar compatible with JSChar in API/JSStringRef.h
    59 #if defined(Q_OS_WIN) || COMPILER(WINSCW)
     59#if defined(Q_OS_WIN) || COMPILER(WINSCW) || COMPILER(RVCT)
    6060typedef wchar_t UChar;
    6161#else
Note: See TracChangeset for help on using the changeset viewer.