summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/console/Event.h
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-02-02 21:39:27 +0000
committerStephen D. Huston <shuston@apache.org>2009-02-02 21:39:27 +0000
commitc5e725492b9d586dcded1892eaa39f11afbf43a6 (patch)
tree784fd3e46227762fe4bf8528bb054ca2b0ac5770 /cpp/src/qpid/console/Event.h
parentbc17d04b1adf008535f3c8cad8a15ac6c122155f (diff)
downloadqpid-python-c5e725492b9d586dcded1892eaa39f11afbf43a6.tar.gz
Prepend SEV_ to sevrity enum names to avoid macro clash on Windows; fixes QPID-1561
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740113 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/console/Event.h')
-rw-r--r--cpp/src/qpid/console/Event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/console/Event.h b/cpp/src/qpid/console/Event.h
index 4c8d639a33..14f5a64716 100644
--- a/cpp/src/qpid/console/Event.h
+++ b/cpp/src/qpid/console/Event.h
@@ -42,8 +42,8 @@ namespace console {
class Event {
public:
typedef enum {
- EMERGENCY = 0, ALERT = 1, CRITICAL = 2, ERROR = 3, WARNING = 4,
- NOTICE = 5, INFO = 6, DEBUG = 7
+ SEV_EMERGENCY = 0, SEV_ALERT = 1, SEV_CRITICAL = 2, SEV_ERROR = 3,
+ SEV_WARNING = 4, SEV_NOTICE = 5, SEV_INFO = 6, SEV_DEBUG = 7
} Severity;
Event(Broker* broker, SchemaClass* schemaClass, framing::Buffer& buffer);