diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-12-05 19:58:38 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-12-05 19:58:38 +0100 |
commit | a6315833d3ca7eac414b8496d8ff12a7f30a4145 (patch) | |
tree | 04e362c936c5d6afea835793c0035a2236097ff3 /common/log.h | |
parent | 697e2ed49039d3573a4fe8862341e85e47c74932 (diff) | |
download | nextpnr-a6315833d3ca7eac414b8496d8ff12a7f30a4145.tar.gz nextpnr-a6315833d3ca7eac414b8496d8ff12a7f30a4145.tar.bz2 nextpnr-a6315833d3ca7eac414b8496d8ff12a7f30a4145.zip |
Renamed LogLevel members, to prevent issue with system defines on Windows
Diffstat (limited to 'common/log.h')
-rw-r--r-- | common/log.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/log.h b/common/log.h index 52158f18..5745df0d 100644 --- a/common/log.h +++ b/common/log.h @@ -44,11 +44,11 @@ struct log_execution_error_exception enum class LogLevel { - LOG, - INFO, - WARNING, - ERROR, - ALWAYS + LOG_MSG, + INFO_MSG, + WARNING_MSG, + ERROR_MSG, + ALWAYS_MSG }; extern std::vector<std::pair<std::ostream *, LogLevel>> log_streams; |