Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1380)

Unified Diff: Source/wtf/ThreadingPrimitives.h

Issue 23672027: Rename OS(WINDOWS) to OS(WIN) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/ThreadSpecificWin.cpp ('k') | Source/wtf/ThreadingWin.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/wtf/ThreadSpecificWin.cpp ('k') | Source/wtf/ThreadingWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698