diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-02-14 11:53:25 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:46 +0100 |
commit | 6ee68fa294d1d9ab8fa8e61a009845dc31a9b771 (patch) | |
tree | 2647e13c34dbffa7827d3c1dfada51a82ba398c9 /include/log.h | |
parent | adbc664125142c434294bfa795666c90c7608429 (diff) | |
download | libnitrokey-6ee68fa294d1d9ab8fa8e61a009845dc31a9b771.tar.gz libnitrokey-6ee68fa294d1d9ab8fa8e61a009845dc31a9b771.tar.bz2 |
Compiles on MXE, but not working on Windows
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h index 8eda4fb..0b0df8c 100644 --- a/include/log.h +++ b/include/log.h @@ -6,6 +6,10 @@ namespace nitrokey { namespace log { +#ifdef ERROR +#undef ERROR +#endif + enum class Loglevel : int { DEBUG_L2, DEBUG, INFO, WARNING, ERROR }; class LogHandler { |