Commit 4d2a757b authored by hausmann@webkit.org's avatar hausmann@webkit.org

2008-11-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>

        Reviewed by Simon Hausmann.

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 87ebc762
2008-11-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
Reviewed by Simon Hausmann.
RVCT does not support tm_gmtoff field, so disable that code just like
for MSVC.
* runtime/DateMath.h:
(JSC::GregorianDateTime::GregorianDateTime):
(JSC::GregorianDateTime::operator tm):
2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
Reviewed by Simon Hausmann.
......
......@@ -113,7 +113,7 @@ struct GregorianDateTime : Noncopyable {
, year(inTm.tm_year)
, isDST(inTm.tm_isdst)
{
#if !PLATFORM(WIN_OS) && !PLATFORM(SOLARIS)
#if !PLATFORM(WIN_OS) && !PLATFORM(SOLARIS) && !COMPILER(RVCT)
utcOffset = static_cast<int>(inTm.tm_gmtoff);
int inZoneSize = strlen(inTm.tm_zone) + 1;
......@@ -140,7 +140,7 @@ struct GregorianDateTime : Noncopyable {
ret.tm_year = year;
ret.tm_isdst = isDST;
#if !PLATFORM(WIN_OS) && !PLATFORM(SOLARIS)
#if !PLATFORM(WIN_OS) && !PLATFORM(SOLARIS) && !COMPILER(RVCT)
ret.tm_gmtoff = static_cast<long>(utcOffset);
ret.tm_zone = timeZone;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment