From 2de7cd32eaec778f9630b682edbca3d1430cd27b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 4 Feb 2014 11:35:14 +0100 Subject: [PATCH] ClientMessage: undefine GetMessage on WIN32 --- src/client/ClientMessage.hxx | 6 ++++++ 1 file changed, 6 insertions(+) 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 +#ifdef WIN32 +/* fuck WIN32! */ +#include +#undef GetMessage +#endif + /** * A client-to-client message. */