Changeset 44765 in webkit for trunk/JavaScriptCore/wtf
- Timestamp:
- Jun 17, 2009, 9:39:56 AM (16 years ago)
- Location:
- trunk/JavaScriptCore/wtf
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/Assertions.cpp
r38699 r44765 35 35 #endif 36 36 37 #if COMPILER(MSVC) && !PLATFORM(WIN _CE)37 #if COMPILER(MSVC) && !PLATFORM(WINCE) 38 38 #ifndef WINVER 39 39 #define WINVER 0x0500 … … 67 67 CFRelease(cfFormat); 68 68 } else 69 #elif COMPILER(MSVC) && !PLATFORM(WIN _CE)69 #elif COMPILER(MSVC) && !PLATFORM(WINCE) 70 70 if (IsDebuggerPresent()) { 71 71 size_t size = 1024; -
trunk/JavaScriptCore/wtf/Assertions.h
r41879 r44765 129 129 /* ASSERT, ASSERT_WITH_MESSAGE, ASSERT_NOT_REACHED */ 130 130 131 #if PLATFORM(WIN _CE)131 #if PLATFORM(WINCE) && !PLATFORM(TORCHMOBILE) 132 132 /* FIXME: We include this here only to avoid a conflict with the ASSERT macro. */ 133 133 #include <windows.h> -
trunk/JavaScriptCore/wtf/CurrentTime.cpp
r41149 r44765 108 108 static double lowResUTCTime() 109 109 { 110 #if PLATFORM(WIN _CE)110 #if PLATFORM(WINCE) 111 111 SYSTEMTIME systemTime; 112 112 GetSystemTime(&systemTime); … … 121 121 time_t timet = mktime(&tmtime); 122 122 return timet * msPerSecond + systemTime.wMilliseconds; 123 #else // PLATFORM(WIN_CE)123 #else 124 124 struct _timeb timebuffer; 125 125 _ftime(&timebuffer); 126 126 return timebuffer.time * msPerSecond + timebuffer.millitm; 127 #endif // PLATFORM(WIN_CE)127 #endif 128 128 } 129 129 -
trunk/JavaScriptCore/wtf/DateMath.cpp
r44518 r44765 301 301 void getLocalTime(const time_t* localTime, struct tm* localTM) 302 302 { 303 #if COMPILER(MSVC7) || COMPILER(MINGW) || PLATFORM(WIN _CE)303 #if COMPILER(MSVC7) || COMPILER(MINGW) || PLATFORM(WINCE) 304 304 *localTM = *localtime(localTime); 305 305 #elif COMPILER(MSVC) -
trunk/JavaScriptCore/wtf/MathExtras.h
r44633 r44765 40 40 41 41 #if COMPILER(MSVC) 42 #if PLATFORM(WIN _CE)42 #if PLATFORM(WINCE) 43 43 #include <stdlib.h> 44 44 #endif -
trunk/JavaScriptCore/wtf/Platform.h
r44702 r44765 57 57 #endif 58 58 59 /* PLATFORM(WIN _CE) */59 /* PLATFORM(WINCE) */ 60 60 /* Operating system level dependencies for Windows CE that should be used */ 61 61 /* regardless of operating environment */ 62 62 /* Note that for this platform PLATFORM(WIN_OS) is also defined. */ 63 63 #if defined(_WIN32_WCE) 64 #define WTF_PLATFORM_WIN _CE 164 #define WTF_PLATFORM_WINCE 1 65 65 #endif 66 66 … … 259 259 #endif 260 260 261 /* PLATFORM(WIN _CE) && PLATFORM(QT)261 /* PLATFORM(WINCE) && PLATFORM(QT) 262 262 We can not determine the endianess at compile time. For 263 263 Qt for Windows CE the endianess is specified in the 264 264 device specific makespec 265 265 */ 266 #if PLATFORM(WIN _CE) && PLATFORM(QT)266 #if PLATFORM(WINCE) && PLATFORM(QT) 267 267 # include <QtGlobal> 268 268 # undef WTF_PLATFORM_BIG_ENDIAN … … 407 407 408 408 #define HAVE_FLOAT_H 1 409 #if PLATFORM(WIN _CE)409 #if PLATFORM(WINCE) 410 410 #define HAVE_ERRNO_H 0 411 411 #else -
trunk/JavaScriptCore/wtf/StringExtras.h
r42037 r44765 46 46 } 47 47 48 #if COMPILER(MSVC7) || PLATFORM(WIN _CE)48 #if COMPILER(MSVC7) || PLATFORM(WINCE) 49 49 50 50 inline int vsnprintf(char* buffer, size_t count, const char* format, va_list args) … … 55 55 #endif 56 56 57 #if PLATFORM(WIN _CE)57 #if PLATFORM(WINCE) 58 58 59 59 inline int strnicmp(const char* string1, const char* string2, size_t count) -
trunk/JavaScriptCore/wtf/Threading.h
r44651 r44765 60 60 #define Threading_h 61 61 62 #if PLATFORM(WIN _CE)62 #if PLATFORM(WINCE) 63 63 #include <windows.h> 64 64 #endif … … 68 68 #include <wtf/Noncopyable.h> 69 69 70 #if PLATFORM(WIN_OS) && !PLATFORM(WIN _CE)70 #if PLATFORM(WIN_OS) && !PLATFORM(WINCE) 71 71 #include <windows.h> 72 72 #elif PLATFORM(DARWIN) … … 213 213 #define WTF_USE_LOCKFREE_THREADSAFESHARED 1 214 214 215 #if COMPILER(MINGW) || COMPILER(MSVC7) || PLATFORM(WIN _CE)215 #if COMPILER(MINGW) || COMPILER(MSVC7) || PLATFORM(WINCE) 216 216 inline void atomicIncrement(int* addend) { InterlockedIncrement(reinterpret_cast<long*>(addend)); } 217 217 inline int atomicDecrement(int* addend) { return InterlockedDecrement(reinterpret_cast<long*>(addend)); } -
trunk/JavaScriptCore/wtf/win/MainThreadWin.cpp
r40888 r44765 32 32 #include "Assertions.h" 33 33 #include "Threading.h" 34 #if !PLATFORM(WIN _CE)34 #if !PLATFORM(WINCE) 35 35 #include <windows.h> 36 36 #endif
Note:
See TracChangeset
for help on using the changeset viewer.