diff options
| author | Piotr Pawlow <pp@siedziba.pl> | 2016-02-22 17:33:05 +0100 |
|---|---|---|
| committer | Piotr Pawlow <pp@siedziba.pl> | 2016-02-22 17:33:05 +0100 |
| commit | bdbb7924565997bfe389def2dcca376ecae0a1a9 (patch) | |
| tree | d125ba24a18ab20bc72441821ab0e8dd89e1f5ee /src/lingot-msg.h | |
| parent | 89320dcd1dec0c38c86a1bb132b20904f5fc2a13 (diff) | |
Add LM_ prefix to message_type_t enum values.
Fixes compile error on Windows because wingdi.h contains "#define ERROR 0".
Diffstat (limited to 'src/lingot-msg.h')
| -rw-r--r-- | src/lingot-msg.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
