Changeset 58308 in webkit for trunk/JavaScriptCore/wtf
- Timestamp:
- Apr 27, 2010, 6:56:53 AM (15 years ago)
- Location:
- trunk/JavaScriptCore/wtf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/MathExtras.h
r58167 r58308 123 123 124 124 #if COMPILER(MSVC) 125 125 // The 64bit version of abs() is already defined in stdlib.h which comes with VC10 126 #if COMPILER(MSVC9_OR_LOWER) 126 127 inline long long abs(long long num) { return _abs64(num); } 128 #endif 127 129 128 130 inline bool isinf(double num) { return !_finite(num) && !_isnan(num); } -
trunk/JavaScriptCore/wtf/Platform.h
r58307 r58308 60 60 /* COMPILER(MSVC) Microsoft Visual C++ */ 61 61 /* COMPILER(MSVC7_OR_LOWER) Microsoft Visual C++ 2003 or lower*/ 62 /* COMPILER(MSVC9_OR_LOWER) Microsoft Visual C++ 2008 or lower*/ 62 63 #if defined(_MSC_VER) 63 64 #define WTF_COMPILER_MSVC 1 64 65 #if _MSC_VER < 1400 65 66 #define WTF_COMPILER_MSVC7_OR_LOWER 1 67 #elif _MSC_VER < 1600 68 #define WTF_COMPILER_MSVC9_OR_LOWER 1 66 69 #endif 67 70 #endif
Note:
See TracChangeset
for help on using the changeset viewer.