Changeset 10713 in webkit for trunk/JavaScriptCore/kjs/config.h


Ignore:
Timestamp:
Oct 3, 2005, 6:43:58 PM (20 years ago)
Author:
mjs
Message:

Patch from George Staikos <[email protected]>, reviewed and tweaked a bit by me.

http://bugzilla.opendarwin.org/show_bug.cgi?id=5174
Add support for compiling on Linux (likely to help for other POSIX systems too)

  • kjs/collector.cpp: (KJS::Collector::markCurrentThreadConservatively): (KJS::Collector::markOtherThreadConservatively):
  • kjs/config.h:
  • kjs/date_object.cpp: (KJS::formatDate): (KJS::formatDateUTCVariant): (KJS::formatTime): (KJS::timeZoneOffset): (KJS::DateProtoFuncImp::callAsFunction): (KJS::DateObjectImp::construct): (KJS::DateObjectImp::callAsFunction): (KJS::makeTime):
  • kjs/identifier.cpp:
  • kjs/internal.cpp: (KJS::initializeInterpreterLock): (KJS::lockInterpreter): (KJS::unlockInterpreter): (KJS::UndefinedImp::toPrimitive): (KJS::UndefinedImp::toBoolean): (KJS::UndefinedImp::toNumber): (KJS::UndefinedImp::toString): (KJS::NullImp::toPrimitive): (KJS::NullImp::toBoolean): (KJS::NullImp::toNumber): (KJS::NullImp::toString): (KJS::BooleanImp::toPrimitive): (KJS::BooleanImp::toBoolean): (KJS::BooleanImp::toNumber): (KJS::BooleanImp::toString): (KJS::StringImp::toPrimitive): (KJS::StringImp::toBoolean): (KJS::StringImp::toNumber): (KJS::StringImp::toString):
  • kjs/internal.h:
  • kjs/protected_values.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/config.h

    r10701 r10713  
    1 #if !WIN32
     1#if __APPLE__
    22
    33#define HAVE_FUNC_ISINF 1
     
    88#define TIME_WITH_SYS_TIME 1
    99
    10 #else
     10#elif WIN32
    1111
    1212#define HAVE_FLOAT_H 1
    1313#define HAVE_FUNC__FINITE 1
    1414#define HAVE_SYS_TIMEB_H 1
     15
     16#else
     17
     18#define HAVE_FUNC_ISINF 1
     19#define HAVE_FUNC_ISNAN 1
     20#define HAVE_STRINGS_H 1
     21#define HAVE_SYS_PARAM_H 1
     22#define HAVE_SYS_TIME_H 1
     23#define TIME_WITH_SYS_TIME 1
     24#define HAVE_ERRNO_H 1
    1525
    1626#endif
Note: See TracChangeset for help on using the changeset viewer.