Changeset 38174 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Nov 6, 2008, 9:48:06 AM (17 years ago)
Author:
Simon Hausmann
Message:

2008-11-06 Laszlo Gombos <Laszlo Gombos>

Reviewed by Simon Hausmann.

RVCT does not support tm_gmtoff field, so disable that code just like
for MSVC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/DateMath.h

    r37938 r38174  
    114114        , isDST(inTm.tm_isdst)
    115115    {
    116 #if !PLATFORM(WIN_OS) && !PLATFORM(SOLARIS)
     116#if !PLATFORM(WIN_OS) && !PLATFORM(SOLARIS) && !COMPILER(RVCT)
    117117        utcOffset = static_cast<int>(inTm.tm_gmtoff);
    118118
     
    141141        ret.tm_isdst =  isDST;
    142142
    143 #if !PLATFORM(WIN_OS) && !PLATFORM(SOLARIS)
     143#if !PLATFORM(WIN_OS) && !PLATFORM(SOLARIS) && !COMPILER(RVCT)
    144144        ret.tm_gmtoff = static_cast<long>(utcOffset);
    145145        ret.tm_zone = timeZone;
Note: See TracChangeset for help on using the changeset viewer.