Changeset 24774 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jul 30, 2007, 8:30:37 AM (18 years ago)
Author:
hausmann
Message:

Removed the BUILDING_QT ifdef in JSStringRef.h and changed UChar for the Qt build to use wchar_t on Windows.

Location:
trunk/JavaScriptCore
Files:
3 edited

Legend:

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

    r24718 r24774  
    4141@abstract A Unicode character.
    4242*/
    43 #if (!defined(WIN32) && !defined(_WIN32)) || defined(__BUILDING_QT)
     43#if !defined(WIN32) && !defined(_WIN32)
    4444    typedef unsigned short JSChar;
    4545#else
  • trunk/JavaScriptCore/ChangeLog

    r24718 r24774  
     12007-07-30  Simon Hausmann  <[email protected]>
     2
     3        Done with and reviewed by Lars.
     4
     5        Removed the __BUILDING_QT ifdef in JSStringRef.h and changed UChar for the Qt build to use wchar_t on Windows.
     6
     7        * API/JSStringRef.h:
     8        * wtf/unicode/qt4/UnicodeQt4.h:
     9
    1102007-07-27  Simon Hausmann  <[email protected]>
    211
  • trunk/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h

    r21371 r24774  
    5656#endif
    5757
     58// ugly hack to make UChar compatible with JSChar in API/JSStringRef.h
     59#if defined(Q_OS_WIN)
     60typedef wchar_t UChar;
     61#else
    5862typedef uint16_t UChar;
     63#endif
    5964typedef uint32_t UChar32;
    6065
Note: See TracChangeset for help on using the changeset viewer.