diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-12-04 18:05:45 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-12-04 18:05:45 +0000 |
commit | 66349a853245020ff9fcebf4ffec9e4129ff933f (patch) | |
tree | 199340ce69c6fb2a7cf03f6a902972b90e1466a4 /monitor.c | |
parent | 39d7046f40451b69fd645c280f368cbefd044a53 (diff) | |
download | qemu-66349a853245020ff9fcebf4ffec9e4129ff933f.tar.gz qemu-66349a853245020ff9fcebf4ffec9e4129ff933f.tar.bz2 qemu-66349a853245020ff9fcebf4ffec9e4129ff933f.zip |
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.c')
-rw-r--r-- | monitor.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -345,25 +345,25 @@ void monitor_protocol_event(MonitorEvent event, QObject *data) const char *event_name; Monitor *mon = cur_mon; - assert(event < EVENT_MAX); + assert(event < QEVENT_MAX); if (!monitor_ctrl_mode(mon)) return; switch (event) { - case EVENT_DEBUG: + case QEVENT_DEBUG: event_name = "DEBUG"; break; - case EVENT_SHUTDOWN: + case QEVENT_SHUTDOWN: event_name = "SHUTDOWN"; break; - case EVENT_RESET: + case QEVENT_RESET: event_name = "RESET"; break; - case EVENT_POWERDOWN: + case QEVENT_POWERDOWN: event_name = "POWERDOWN"; break; - case EVENT_STOP: + case QEVENT_STOP: event_name = "STOP"; break; default: |