summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/websocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/cpp/websocket.h')
-rw-r--r--ppapi/cpp/websocket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ppapi/cpp/websocket.h b/ppapi/cpp/websocket.h
index a34fdb7..0c72dc0 100644
--- a/ppapi/cpp/websocket.h
+++ b/ppapi/cpp/websocket.h
@@ -12,6 +12,11 @@
/// This file defines the WebSocket interface providing bi-directional,
/// full-duplex, communications over a single TCP socket.
+// Windows headers will redefine SendMessage.
+#ifdef SendMessage
+#undef SendMessage
+#endif
+
namespace pp {
class CompletionCallback;