Changeset 10798 in webkit for trunk/JavaScriptCore/kjs


Ignore:
Timestamp:
Oct 8, 2005, 9:25:00 PM (20 years ago)
Author:
darin
Message:

Reviewed, tweaked, and landed by Darin.

  • kjs/config.h: Make sure HAVE_MMAP and HAVE_SBRK are off for Win32. Turn HAVE_ERRNO_H on for Mac OS X. Sort defines so they are easy to compare with each other. Remove #undef of DEBUG_COLLECTOR.
  • pcre/pcre_exec.c: (match): Work around strange MSVC complaint by splitting the definition of a local variable into a separate declaration and initialization.
File:
1 edited

Legend:

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

    r10713 r10798  
    11#if __APPLE__
    22
     3#define HAVE_ERRNO_H 1
    34#define HAVE_FUNC_ISINF 1
    45#define HAVE_FUNC_ISNAN 1
     6#define HAVE_MMAP 1
     7#define HAVE_SBRK 1
    58#define HAVE_STRINGS_H 1
    69#define HAVE_SYS_PARAM_H 1
     
    1619#else
    1720
     21#define HAVE_ERRNO_H 1
    1822#define HAVE_FUNC_ISINF 1
    1923#define HAVE_FUNC_ISNAN 1
     24#define HAVE_MMAP 1
     25#define HAVE_SBRK 1
    2026#define HAVE_STRINGS_H 1
    2127#define HAVE_SYS_PARAM_H 1
    2228#define HAVE_SYS_TIME_H 1
    2329#define TIME_WITH_SYS_TIME 1
    24 #define HAVE_ERRNO_H 1
    2530
    2631#endif
     
    2934#define HAVE_ICU 1
    3035#define HAVE_PCREPOSIX 1
     36#define HAVE_STDINT_H 1
    3137#define HAVE_STRING_H 1
    32 #define HAVE_STDINT_H 1
    33 
    34 #define HAVE_MMAP 1
    35 #define HAVE_SBRK 1
    3638
    3739#ifdef __ppc__
    3840#define WORDS_BIGENDIAN 1
    3941#endif
    40 
    41 /* define to debug garbage collection */
    42 #undef DEBUG_COLLECTOR
    4342
    4443#define KXC_CHANGES 1
Note: See TracChangeset for help on using the changeset viewer.