Changeset 58307 in webkit for trunk/JavaScriptCore/wtf
- Timestamp:
- Apr 27, 2010, 6:56:19 AM (15 years ago)
- Location:
- trunk/JavaScriptCore/wtf
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/Assertions.h
r57016 r58307 63 63 #endif 64 64 65 #if COMPILER(MSVC7 ) || COMPILER(WINSCW)65 #if COMPILER(MSVC7_OR_LOWER) || COMPILER(WINSCW) 66 66 #define HAVE_VARIADIC_MACRO 0 67 67 #else … … 225 225 /* ASSERT_WITH_MESSAGE */ 226 226 227 #if COMPILER(MSVC7 )227 #if COMPILER(MSVC7_OR_LOWER) 228 228 #define ASSERT_WITH_MESSAGE(assertion) ((void)0) 229 229 #elif COMPILER(WINSCW) … … 265 265 /* FATAL */ 266 266 267 #if COMPILER(MSVC7 )267 #if COMPILER(MSVC7_OR_LOWER) 268 268 #define FATAL() ((void)0) 269 269 #elif COMPILER(WINSCW) … … 280 280 /* LOG_ERROR */ 281 281 282 #if COMPILER(MSVC7 )282 #if COMPILER(MSVC7_OR_LOWER) 283 283 #define LOG_ERROR() ((void)0) 284 284 #elif COMPILER(WINSCW) … … 292 292 /* LOG */ 293 293 294 #if COMPILER(MSVC7 )294 #if COMPILER(MSVC7_OR_LOWER) 295 295 #define LOG() ((void)0) 296 296 #elif COMPILER(WINSCW) … … 306 306 /* LOG_VERBOSE */ 307 307 308 #if COMPILER(MSVC7 )308 #if COMPILER(MSVC7_OR_LOWER) 309 309 #define LOG_VERBOSE(channel) ((void)0) 310 310 #elif COMPILER(WINSCW) -
trunk/JavaScriptCore/wtf/Atomics.h
r58206 r58307 81 81 #define WTF_USE_LOCKFREE_THREADSAFESHARED 1 82 82 83 #if COMPILER(MINGW) || COMPILER(MSVC7 ) || OS(WINCE)83 #if COMPILER(MINGW) || COMPILER(MSVC7_OR_LOWER) || OS(WINCE) 84 84 inline int atomicIncrement(int* addend) { return InterlockedIncrement(reinterpret_cast<long*>(addend)); } 85 85 inline int atomicDecrement(int* addend) { return InterlockedDecrement(reinterpret_cast<long*>(addend)); } -
trunk/JavaScriptCore/wtf/CurrentTime.h
r54244 r58307 50 50 inline void getLocalTime(const time_t* localTime, struct tm* localTM) 51 51 { 52 #if COMPILER(MSVC7 ) || COMPILER(MINGW) || OS(WINCE)52 #if COMPILER(MSVC7_OR_LOWER) || COMPILER(MINGW) || OS(WINCE) 53 53 *localTM = *localtime(localTime); 54 54 #elif COMPILER(MSVC) -
trunk/JavaScriptCore/wtf/Platform.h
r57804 r58307 59 59 60 60 /* COMPILER(MSVC) Microsoft Visual C++ */ 61 /* COMPILER(MSVC7 ) Microsoft Visual C++ v7or lower*/61 /* COMPILER(MSVC7_OR_LOWER) Microsoft Visual C++ 2003 or lower*/ 62 62 #if defined(_MSC_VER) 63 63 #define WTF_COMPILER_MSVC 1 64 64 #if _MSC_VER < 1400 65 #define WTF_COMPILER_MSVC7 165 #define WTF_COMPILER_MSVC7_OR_LOWER 1 66 66 #endif 67 67 #endif -
trunk/JavaScriptCore/wtf/StaticConstructors.h
r57904 r58307 52 52 #ifndef SKIP_STATIC_CONSTRUCTORS_ON_GCC 53 53 // Define an global in the normal way. 54 #if COMPILER(MSVC7 )54 #if COMPILER(MSVC7_OR_LOWER) 55 55 #define DEFINE_GLOBAL(type, name) \ 56 56 const type name; … … 66 66 // Define an correctly-sized array of pointers to avoid static initialization. 67 67 // Use an array of pointers instead of an array of char in case there is some alignment issue. 68 #if COMPILER(MSVC7 )68 #if COMPILER(MSVC7_OR_LOWER) 69 69 #define DEFINE_GLOBAL(type, name) \ 70 70 void * name[(sizeof(type) + sizeof(void *) - 1) / sizeof(void *)]; -
trunk/JavaScriptCore/wtf/StringExtras.h
r52791 r58307 47 47 } 48 48 49 #if COMPILER(MSVC7 ) || OS(WINCE)49 #if COMPILER(MSVC7_OR_LOWER) || OS(WINCE) 50 50 51 51 inline int vsnprintf(char* buffer, size_t count, const char* format, va_list args) -
trunk/JavaScriptCore/wtf/Vector.h
r55093 r58307 940 940 } 941 941 942 #if COMPILER(MSVC7 )942 #if COMPILER(MSVC7_OR_LOWER) 943 943 // FIXME: MSVC7 generates compilation errors when trying to assign 944 944 // a pointer to a Vector of its base class (i.e. can't downcast). So far
Note:
See TracChangeset
for help on using the changeset viewer.