Changeset 10798 in webkit for trunk/JavaScriptCore
- Timestamp:
- Oct 8, 2005, 9:25:00 PM (20 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r10757 r10798 1 2005-10-08 Justin Haygood <[email protected]> 2 3 Reviewed, tweaked, and landed by Darin. 4 5 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5189 6 pcre_exec.c fails to compile using MSVC 7 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5190 8 KJS config.h adjustment for Win32 9 10 * kjs/config.h: Make sure HAVE_MMAP and HAVE_SBRK are off for Win32. 11 Turn HAVE_ERRNO_H on for Mac OS X. Sort defines so they are easy to compare 12 with each other. Remove #undef of DEBUG_COLLECTOR. 13 * pcre/pcre_exec.c: (match): Work around strange MSVC complaint by splitting 14 the definition of a local variable into a separate declaration and 15 initialization. 16 1 17 2005-10-05 Geoffrey Garen <[email protected]> 2 18 -
trunk/JavaScriptCore/kjs/config.h
r10713 r10798 1 1 #if __APPLE__ 2 2 3 #define HAVE_ERRNO_H 1 3 4 #define HAVE_FUNC_ISINF 1 4 5 #define HAVE_FUNC_ISNAN 1 6 #define HAVE_MMAP 1 7 #define HAVE_SBRK 1 5 8 #define HAVE_STRINGS_H 1 6 9 #define HAVE_SYS_PARAM_H 1 … … 16 19 #else 17 20 21 #define HAVE_ERRNO_H 1 18 22 #define HAVE_FUNC_ISINF 1 19 23 #define HAVE_FUNC_ISNAN 1 24 #define HAVE_MMAP 1 25 #define HAVE_SBRK 1 20 26 #define HAVE_STRINGS_H 1 21 27 #define HAVE_SYS_PARAM_H 1 22 28 #define HAVE_SYS_TIME_H 1 23 29 #define TIME_WITH_SYS_TIME 1 24 #define HAVE_ERRNO_H 125 30 26 31 #endif … … 29 34 #define HAVE_ICU 1 30 35 #define HAVE_PCREPOSIX 1 36 #define HAVE_STDINT_H 1 31 37 #define HAVE_STRING_H 1 32 #define HAVE_STDINT_H 133 34 #define HAVE_MMAP 135 #define HAVE_SBRK 136 38 37 39 #ifdef __ppc__ 38 40 #define WORDS_BIGENDIAN 1 39 41 #endif 40 41 /* define to debug garbage collection */42 #undef DEBUG_COLLECTOR43 42 44 43 #define KXC_CHANGES 1 -
trunk/JavaScriptCore/pcre/pcre_exec.c
r10663 r10798 1948 1948 length = 1; 1949 1949 GETUTF8CHARLEN(fc, ecode, length); 1950 int utf16Length = fc > 0xFFFF ? 2 : 1; 1950 int utf16Length; // don't initialize on this line as workaround for Win32 compile problem 1951 utf16Length = fc > 0xFFFF ? 2 : 1; 1951 1952 if (min * utf16Length > md->end_subject - eptr) RRETURN(MATCH_NOMATCH); 1952 1953 ecode += length;
Note:
See TracChangeset
for help on using the changeset viewer.