aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/GlobalEvents.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/GlobalEvents.hxx b/src/GlobalEvents.hxx
index 458e77d7b..2e549305b 100644
--- a/src/GlobalEvents.hxx
+++ b/src/GlobalEvents.hxx
@@ -20,6 +20,14 @@
#ifndef MPD_GLOBAL_EVENTS_HXX
#define MPD_GLOBAL_EVENTS_HXX
+#ifdef WIN32
+/* DELETE is a WIN32 macro that poisons our namespace; this is a
+ kludge to allow us to use it anyway */
+#ifdef DELETE
+#undef DELETE
+#endif
+#endif
+
namespace GlobalEvents {
enum Event {
/** database update was finished */