Changeset 10456 in webkit for trunk/JavaScriptCore/kjs/date_object.cpp
- Timestamp:
- Sep 3, 2005, 6:18:13 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/date_object.cpp
r10207 r10456 52 52 #include <locale.h> 53 53 #include <ctype.h> 54 #include <limits.h> 54 55 55 56 #include "date_object.h" 56 57 #include "error_object.h" 57 58 #include "operations.h" 59 60 #if WIN32 61 #define strncasecmp(x, y, z) strnicmp(x, y, z) 62 #include <float.h> 63 #define isfinite(x) _finite(x) 64 #define copysign(x) _copysign(x) 65 #endif 58 66 59 67 #include "date_object.lut.h" … … 1054 1062 bool have_time = false; 1055 1063 1056 // for strtol error checking1057 errno = 0;1058 1059 1064 // Skip leading space 1060 1065 while(isspace(*dateString)) … … 1088 1093 1089 1094 // ' 09-Nov-99 23:12:40 GMT' 1095 errno = 0; 1090 1096 day = strtol(dateString, &newPosStr, 10); 1091 1097 if (errno)
Note:
See TracChangeset
for help on using the changeset viewer.