Index: ppapi/cpp/websocket.h |
diff --git a/ppapi/cpp/websocket.h b/ppapi/cpp/websocket.h |
index a34fdb7731ebfad36af041788f3a2e2c389340f5..0c72dc0eda9fd578a9bd8d714e7a72e94a1902a9 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. |
viettrungluu
2012/07/10 22:47:58
This is fine, but why is this in this CL?
brettw
2012/07/10 23:12:57
I included <windows.h> in more places and it explo
|
+#ifdef SendMessage |
+#undef SendMessage |
+#endif |
+ |
namespace pp { |
class CompletionCallback; |