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) | |
download | mpd-2de7cd32eaec778f9630b682edbca3d1430cd27b.tar.gz mpd-2de7cd32eaec778f9630b682edbca3d1430cd27b.tar.xz mpd-2de7cd32eaec778f9630b682edbca3d1430cd27b.zip |
ClientMessage: undefine GetMessage on WIN32
Diffstat (limited to '')
-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. */ |