From bdbb7924565997bfe389def2dcca376ecae0a1a9 Mon Sep 17 00:00:00 2001 From: Piotr Pawlow Date: Mon, 22 Feb 2016 17:33:05 +0100 Subject: Add LM_ prefix to message_type_t enum values. Fixes compile error on Windows because wingdi.h contains "#define ERROR 0". --- src/lingot-msg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lingot-msg.h') diff --git a/src/lingot-msg.h b/src/lingot-msg.h index 6e28964..d100683 100644 --- a/src/lingot-msg.h +++ b/src/lingot-msg.h @@ -27,7 +27,7 @@ // message types typedef enum message_type_t { - ERROR = 0, WARNING = 1, INFO = 2 + LM_ERROR = 0, LM_WARNING = 1, LM_INFO = 2 } message_type_t; // add messages to the queue -- cgit v1.2.3