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

Unified Diff: Source/wtf/Atomics.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/Assertions.cpp ('k') | Source/wtf/ByteOrder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Atomics.h
diff --git a/Source/wtf/Atomics.h b/Source/wtf/Atomics.h
index 61df6249bc140e6322600d01747a5c09b8b258ef..a3adf15e626c8bffb1c53bab5a33ef4ce2086832 100644
--- a/Source/wtf/Atomics.h
+++ b/Source/wtf/Atomics.h
@@ -33,7 +33,7 @@
#include "wtf/CPU.h"
#include <stdint.h>
-#if OS(WINDOWS)
+#if OS(WIN)
#include <windows.h>
#elif OS(ANDROID)
#include <sys/atomics.h>
@@ -41,7 +41,7 @@
namespace WTF {
-#if OS(WINDOWS)
+#if OS(WIN)
ALWAYS_INLINE int atomicIncrement(int volatile* addend) { return InterlockedIncrement(reinterpret_cast<long volatile*>(addend)); }
ALWAYS_INLINE int atomicDecrement(int volatile* addend) { return InterlockedDecrement(reinterpret_cast<long volatile*>(addend)); }
« no previous file with comments | « Source/wtf/Assertions.cpp ('k') | Source/wtf/ByteOrder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698