Commit 9d770d60 authored by Max Kellermann's avatar Max Kellermann

GlobalEvents: #undef DELETE on Windows

Work around a build failure due to windows.h macro.
parent 7f0297dc
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment