Changeset 45908 in webkit for trunk/JavaScriptCore/wtf/Platform.h


Ignore:
Timestamp:
Jul 15, 2009, 7:18:38 AM (16 years ago)
Author:
Simon Hausmann
Message:

2009-07-15 Laszlo Gombos <Laszlo Gombos>

Reviewed by Dave Kilzer.

Turn off non-portable date manipulations for SYMBIAN
https://bugs.webkit.org/show_bug.cgi?id=27064

Introduce HAVE(TM_GMTOFF), HAVE(TM_ZONE) and HAVE(TIMEGM) guards
and place the rules for controlling the guards in Platform.h.
Turn off these newly introduced guards for SYMBIAN.

  • wtf/DateMath.cpp: (WTF::calculateUTCOffset):
  • wtf/DateMath.h: (WTF::GregorianDateTime::GregorianDateTime): (WTF::GregorianDateTime::operator tm):
  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Platform.h

    r45793 r45908  
    406406#endif
    407407
     408#if !PLATFORM(WIN_OS) && !PLATFORM(SOLARIS) && !PLATFORM(SYMBIAN) && !COMPILER(RVCT)
     409#define HAVE_TM_GMTOFF 1
     410#define HAVE_TM_ZONE 1
     411#define HAVE_TIMEGM 1
     412#endif     
     413
    408414#if PLATFORM(DARWIN)
    409415
Note: See TracChangeset for help on using the changeset viewer.