Changeset 44765 in webkit for trunk/JavaScriptCore/wtf


Ignore:
Timestamp:
Jun 17, 2009, 9:39:56 AM (16 years ago)
Author:
[email protected]
Message:

2009-06-17 George Staikos <[email protected]>

Reviewed by Adam Treat.

https://bugs.webkit.org/show_bug.cgi?id=23155
Move WIN_CE -> WINCE as previously discussed with Qt WINCE folks.

Location:
trunk/JavaScriptCore/wtf
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Assertions.cpp

    r38699 r44765  
    3535#endif
    3636
    37 #if COMPILER(MSVC) && !PLATFORM(WIN_CE)
     37#if COMPILER(MSVC) && !PLATFORM(WINCE)
    3838#ifndef WINVER
    3939#define WINVER 0x0500
     
    6767        CFRelease(cfFormat);
    6868    } else
    69 #elif COMPILER(MSVC) && !PLATFORM(WIN_CE)
     69#elif COMPILER(MSVC) && !PLATFORM(WINCE)
    7070    if (IsDebuggerPresent()) {
    7171        size_t size = 1024;
  • trunk/JavaScriptCore/wtf/Assertions.h

    r41879 r44765  
    129129/* ASSERT, ASSERT_WITH_MESSAGE, ASSERT_NOT_REACHED */
    130130
    131 #if PLATFORM(WIN_CE)
     131#if PLATFORM(WINCE) && !PLATFORM(TORCHMOBILE)
    132132/* FIXME: We include this here only to avoid a conflict with the ASSERT macro. */
    133133#include <windows.h>
  • trunk/JavaScriptCore/wtf/CurrentTime.cpp

    r41149 r44765  
    108108static double lowResUTCTime()
    109109{
    110 #if PLATFORM(WIN_CE)
     110#if PLATFORM(WINCE)
    111111    SYSTEMTIME systemTime;
    112112    GetSystemTime(&systemTime);
     
    121121    time_t timet = mktime(&tmtime);
    122122    return timet * msPerSecond + systemTime.wMilliseconds;
    123 #else // PLATFORM(WIN_CE)
     123#else
    124124    struct _timeb timebuffer;
    125125    _ftime(&timebuffer);
    126126    return timebuffer.time * msPerSecond + timebuffer.millitm;
    127 #endif // PLATFORM(WIN_CE)
     127#endif
    128128}
    129129
  • trunk/JavaScriptCore/wtf/DateMath.cpp

    r44518 r44765  
    301301void getLocalTime(const time_t* localTime, struct tm* localTM)
    302302{
    303 #if COMPILER(MSVC7) || COMPILER(MINGW) || PLATFORM(WIN_CE)
     303#if COMPILER(MSVC7) || COMPILER(MINGW) || PLATFORM(WINCE)
    304304    *localTM = *localtime(localTime);
    305305#elif COMPILER(MSVC)
  • trunk/JavaScriptCore/wtf/MathExtras.h

    r44633 r44765  
    4040
    4141#if COMPILER(MSVC)
    42 #if PLATFORM(WIN_CE)
     42#if PLATFORM(WINCE)
    4343#include <stdlib.h>
    4444#endif
  • trunk/JavaScriptCore/wtf/Platform.h

    r44702 r44765  
    5757#endif
    5858
    59 /* PLATFORM(WIN_CE) */
     59/* PLATFORM(WINCE) */
    6060/* Operating system level dependencies for Windows CE that should be used */
    6161/* regardless of operating environment */
    6262/* Note that for this platform PLATFORM(WIN_OS) is also defined. */
    6363#if defined(_WIN32_WCE)
    64 #define WTF_PLATFORM_WIN_CE 1
     64#define WTF_PLATFORM_WINCE 1
    6565#endif
    6666
     
    259259#endif
    260260
    261 /* PLATFORM(WIN_CE) && PLATFORM(QT)
     261/* PLATFORM(WINCE) && PLATFORM(QT)
    262262   We can not determine the endianess at compile time. For
    263263   Qt for Windows CE the endianess is specified in the
    264264   device specific makespec
    265265*/
    266 #if PLATFORM(WIN_CE) && PLATFORM(QT)
     266#if PLATFORM(WINCE) && PLATFORM(QT)
    267267#   include <QtGlobal>
    268268#   undef WTF_PLATFORM_BIG_ENDIAN
     
    407407
    408408#define HAVE_FLOAT_H 1
    409 #if PLATFORM(WIN_CE)
     409#if PLATFORM(WINCE)
    410410#define HAVE_ERRNO_H 0
    411411#else
  • trunk/JavaScriptCore/wtf/StringExtras.h

    r42037 r44765  
    4646}
    4747
    48 #if COMPILER(MSVC7) || PLATFORM(WIN_CE)
     48#if COMPILER(MSVC7) || PLATFORM(WINCE)
    4949
    5050inline int vsnprintf(char* buffer, size_t count, const char* format, va_list args)
     
    5555#endif
    5656
    57 #if PLATFORM(WIN_CE)
     57#if PLATFORM(WINCE)
    5858
    5959inline int strnicmp(const char* string1, const char* string2, size_t count)
  • trunk/JavaScriptCore/wtf/Threading.h

    r44651 r44765  
    6060#define Threading_h
    6161
    62 #if PLATFORM(WIN_CE)
     62#if PLATFORM(WINCE)
    6363#include <windows.h>
    6464#endif
     
    6868#include <wtf/Noncopyable.h>
    6969
    70 #if PLATFORM(WIN_OS) && !PLATFORM(WIN_CE)
     70#if PLATFORM(WIN_OS) && !PLATFORM(WINCE)
    7171#include <windows.h>
    7272#elif PLATFORM(DARWIN)
     
    213213#define WTF_USE_LOCKFREE_THREADSAFESHARED 1
    214214
    215 #if COMPILER(MINGW) || COMPILER(MSVC7) || PLATFORM(WIN_CE)
     215#if COMPILER(MINGW) || COMPILER(MSVC7) || PLATFORM(WINCE)
    216216inline void atomicIncrement(int* addend) { InterlockedIncrement(reinterpret_cast<long*>(addend)); }
    217217inline int atomicDecrement(int* addend) { return InterlockedDecrement(reinterpret_cast<long*>(addend)); }
  • trunk/JavaScriptCore/wtf/win/MainThreadWin.cpp

    r40888 r44765  
    3232#include "Assertions.h"
    3333#include "Threading.h"
    34 #if !PLATFORM(WIN_CE)
     34#if !PLATFORM(WINCE)
    3535#include <windows.h>
    3636#endif
Note: See TracChangeset for help on using the changeset viewer.