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

Unified Diff: Source/wtf/ByteOrder.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/Atomics.h ('k') | Source/wtf/DateMath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/ByteOrder.h
diff --git a/Source/wtf/ByteOrder.h b/Source/wtf/ByteOrder.h
index 8401b5b825086a64284c5f8cb91b6823d7fff36e..bad86cb58d7e52a30fee0610359bdad3853f3e6d 100644
--- a/Source/wtf/ByteOrder.h
+++ b/Source/wtf/ByteOrder.h
@@ -37,7 +37,7 @@
#include <arpa/inet.h>
#endif
-#if OS(WINDOWS)
+#if OS(WIN)
namespace WTF {
inline uint32_t wswap32(uint32_t x) { return ((x & 0xffff0000) >> 16) | ((x & 0x0000ffff) << 16); }
@@ -62,6 +62,6 @@ inline uint32_t ntohl(uint32_t x) { return WTF::bswap32(x); }
inline uint32_t htonl(uint32_t x) { return WTF::bswap32(x); }
#endif
-#endif // OS(WINDOWS)
+#endif // OS(WIN)
#endif // WTF_ByteOrder_h
« no previous file with comments | « Source/wtf/Atomics.h ('k') | Source/wtf/DateMath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698