diff options
author | Max Kellermann <max@duempel.org> | 2014-02-04 11:35:14 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-04 11:35:14 +0100 |
commit | 2de7cd32eaec778f9630b682edbca3d1430cd27b (patch) | |
tree | bd059915aaf0f0c2d8eed1d6a7bacabebf4f7dce /src | |
parent | 098aa185387ba6a7f79469e47a73be4eef6fc3d0 (diff) |
ClientMessage: undefine GetMessage on WIN32
Diffstat (limited to 'src')
-rw-r--r-- | src/client/ClientMessage.hxx | 6 |
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. */ |