summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/WOFFFileFormat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/WOFFFileFormat.cpp')
-rw-r--r--Source/WebCore/platform/graphics/WOFFFileFormat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/WOFFFileFormat.cpp b/Source/WebCore/platform/graphics/WOFFFileFormat.cpp
index 80a6dcb..d54f3df 100644
--- a/Source/WebCore/platform/graphics/WOFFFileFormat.cpp
+++ b/Source/WebCore/platform/graphics/WOFFFileFormat.cpp
@@ -43,7 +43,7 @@
#define ntohs(x) std_ntohs(x)
#endif
-#if PLATFORM(WIN)
+#if OS(WINDOWS)
#if CPU(BIG_ENDIAN)
#define ntohs(x) ((uint16_t)(x))
#define htons(x) ((uint16_t)(x))
@@ -61,7 +61,7 @@
(((uint32_t)(x) & 0x0000ff00) << 8) | (((uint32_t)(x) & 0x000000ff) << 24)))
#define htonl(x) ntohl(x)
#endif
-#endif // PLATFORM(WIN)
+#endif // OS(WINDOWS)
namespace WebCore {