Changeset 68087 in webkit


Ignore:
Timestamp:
Sep 22, 2010 3:05:33 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-09-22 Kwang Yul Seo <skyul@company100.net>

Reviewed by Laszlo Gombos.

Use "typedef wchar_t JSChar" when compiled with RVCT
https://bugs.webkit.org/show_bug.cgi?id=40651

Use wchar_t for JSChar and UChar when compiled with RVCT.
Linux is the exception for this rule.

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

Legend:

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

    r58167 r68087  
    3939
    4040#if !defined(WIN32) && !defined(_WIN32) && !defined(__WINSCW__) \
    41     && !((defined(__CC_ARM) || defined(__ARMCC__)) && defined(__SYMBIAN32__)) /* RVCT */
     41    && !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* RVCT */
    4242/*!
    4343@typedef JSChar
  • trunk/JavaScriptCore/ChangeLog

    r68076 r68087  
     12010-09-22  Kwang Yul Seo  <skyul@company100.net>
     2
     3        Reviewed by Laszlo Gombos.
     4
     5        Use "typedef wchar_t JSChar" when compiled with RVCT
     6        https://bugs.webkit.org/show_bug.cgi?id=40651
     7
     8        Use wchar_t for JSChar and UChar when compiled with RVCT.
     9        Linux is the exception for this rule.
     10
     11        * API/JSStringRef.h:
     12        * wtf/unicode/qt4/UnicodeQt4.h:
     13
    1142010-09-22  Oliver Hunt  <oliver@apple.com>
    215
  • trunk/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h

    r67475 r68087  
    5959
    6060// ugly hack to make UChar compatible with JSChar in API/JSStringRef.h
    61 #if defined(Q_OS_WIN) || COMPILER(WINSCW) || (COMPILER(RVCT) && OS(SYMBIAN))
     61#if defined(Q_OS_WIN) || COMPILER(WINSCW) || (COMPILER(RVCT) && !OS(LINUX))
    6262typedef wchar_t UChar;
    6363#else
Note: See TracChangeset for help on using the changeset viewer.