aboutsummaryrefslogtreecommitdiff
path: root/monitor.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-12-04 18:05:45 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-12-04 18:05:45 +0000
commit242cd0030a4ac1cdd478a430f293dca573698778 (patch)
tree199340ce69c6fb2a7cf03f6a902972b90e1466a4 /monitor.h
parent31a68d5766c86020ef5392323db7692aa9e9ac62 (diff)
downloadqemu-242cd0030a4ac1cdd478a430f293dca573698778.zip
qemu-242cd0030a4ac1cdd478a430f293dca573698778.tar.gz
qemu-242cd0030a4ac1cdd478a430f293dca573698778.tar.bz2
monitor: rename EVENT_* to QEVENT_* to avoid conflict on mingw32
Partially fixes mingw32 build. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'monitor.h')
-rw-r--r--monitor.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/monitor.h b/monitor.h
index 851fd33..38cc223 100644
--- a/monitor.h
+++ b/monitor.h
@@ -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);