| Index: Source/wtf/ThreadingPrimitives.h
|
| diff --git a/Source/wtf/ThreadingPrimitives.h b/Source/wtf/ThreadingPrimitives.h
|
| index 50fbc1d038dad24ce4bc547f1cf8dabdc46a4f41..aa98884bd1a12731c2e84adce6c9e8d69fbd3888 100644
|
| --- a/Source/wtf/ThreadingPrimitives.h
|
| +++ b/Source/wtf/ThreadingPrimitives.h
|
| @@ -37,7 +37,7 @@
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/WTFExport.h"
|
|
|
| -#if OS(WINDOWS)
|
| +#if OS(WIN)
|
| #include <windows.h>
|
| #endif
|
|
|
| @@ -50,7 +50,7 @@ namespace WTF {
|
| #if USE(PTHREADS)
|
| typedef pthread_mutex_t PlatformMutex;
|
| typedef pthread_cond_t PlatformCondition;
|
| -#elif OS(WINDOWS)
|
| +#elif OS(WIN)
|
| struct PlatformMutex {
|
| CRITICAL_SECTION m_internalMutex;
|
| size_t m_recursionCount;
|
| @@ -123,7 +123,7 @@ private:
|
| PlatformCondition m_condition;
|
| };
|
|
|
| -#if OS(WINDOWS)
|
| +#if OS(WIN)
|
| // The absoluteTime is in seconds, starting on January 1, 1970. The time is assumed to use the same time zone as WTF::currentTime().
|
| // Returns an interval in milliseconds suitable for passing to one of the Win32 wait functions (e.g., ::WaitForSingleObject).
|
| DWORD absoluteTimeToWaitTimeoutInterval(double absoluteTime);
|
| @@ -136,7 +136,7 @@ using WTF::MutexLocker;
|
| using WTF::MutexTryLocker;
|
| using WTF::ThreadCondition;
|
|
|
| -#if OS(WINDOWS)
|
| +#if OS(WIN)
|
| using WTF::absoluteTimeToWaitTimeoutInterval;
|
| #endif
|
|
|
|
|