summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-04 11:35:14 +0100
committerMax Kellermann <max@duempel.org>2014-02-04 11:35:14 +0100
commit2de7cd32eaec778f9630b682edbca3d1430cd27b (patch)
treebd059915aaf0f0c2d8eed1d6a7bacabebf4f7dce /src/client
parent098aa185387ba6a7f79469e47a73be4eef6fc3d0 (diff)
ClientMessage: undefine GetMessage on WIN32
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ClientMessage.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/ClientMessage.hxx b/src/client/ClientMessage.hxx
index 3d28e01dc..bc6a4cd41 100644
--- a/src/client/ClientMessage.hxx
+++ b/src/client/ClientMessage.hxx
@@ -24,6 +24,12 @@
#include <string>
+#ifdef WIN32
+/* fuck WIN32! */
+#include <windows.h>
+#undef GetMessage
+#endif
+
/**
* A client-to-client message.
*/