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


Ignore:
Timestamp:
Sep 26, 2002, 8:20:47 AM (23 years ago)
Author:
darin
Message:

Fix the infinity problem Dave worked around. We didn't have the
configuration flags set right to make infinity work. Setting those
properly made everything work without changes to min and max.

  • kjs/config.h: Define HAVE_FUNC_ISINF, HAVE_STRING_H, and also WORDS_BIGENDIAN (if on ppc).
  • kjs/math_object.cpp: (MathFuncImp::call): Roll out min and max changes from yesterday.
File:
1 edited

Legend:

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

    r901 r2173  
    1 
     1#define HAVE_FUNC_ISINF 1
     2#define HAVE_FUNC_ISNAN 1
     3#define HAVE_STRING_H 1
     4#define HAVE_STRINGS_H 1
     5#define HAVE_SYS_TIME_H 1
    26#define TIME_WITH_SYS_TIME 1
    3 #define HAVE_SYS_TIME_H 1
    4 #define HAVE_FUNC_ISNAN 1
    5 #define HAVE_STRINGS_H
     7#ifdef __ppc__
     8#define WORDS_BIGENDIAN 1
     9#endif
Note: See TracChangeset for help on using the changeset viewer.