monitor: rename EVENT_* to QEVENT_* to avoid conflict on mingw32

Partially fixes mingw32 build.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-12-04 18:05:45 +00:00
parent 31a68d5766
commit 242cd0030a
3 changed files with 17 additions and 17 deletions

View file

@ -15,12 +15,12 @@ extern Monitor *cur_mon;
/* QMP events */
typedef enum MonitorEvent {
EVENT_DEBUG,
EVENT_SHUTDOWN,
EVENT_RESET,
EVENT_POWERDOWN,
EVENT_STOP,
EVENT_MAX,
QEVENT_DEBUG,
QEVENT_SHUTDOWN,
QEVENT_RESET,
QEVENT_POWERDOWN,
QEVENT_STOP,
QEVENT_MAX,
} MonitorEvent;
void monitor_protocol_event(MonitorEvent event, QObject *data);