GlobalEvents: #undef DELETE on Windows
Work around a build failure due to windows.h macro.
This commit is contained in:
parent
7f0297dc44
commit
9d770d6084
@ -20,6 +20,14 @@
|
|||||||
#ifndef MPD_GLOBAL_EVENTS_HXX
|
#ifndef MPD_GLOBAL_EVENTS_HXX
|
||||||
#define 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 {
|
namespace GlobalEvents {
|
||||||
enum Event {
|
enum Event {
|
||||||
/** database update was finished */
|
/** database update was finished */
|
||||||
|
Loading…
Reference in New Issue
Block a user