aboutsummaryrefslogtreecommitdiffstats
path: root/common/log.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-12-05 19:58:38 +0100
committerMiodrag Milanovic <mmicko@gmail.com>2018-12-05 19:58:38 +0100
commita6315833d3ca7eac414b8496d8ff12a7f30a4145 (patch)
tree04e362c936c5d6afea835793c0035a2236097ff3 /common/log.h
parent697e2ed49039d3573a4fe8862341e85e47c74932 (diff)
downloadnextpnr-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.h10
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;