aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/log.h
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2018-03-06 09:43:42 -0800
committerClifford Wolf <clifford@clifford.at>2018-03-11 16:01:30 +0100
commit82fecc98c01dd3883b7d8268d3f1c7c35512f00d (patch)
treec70bba159d482dfba3bcbacbddb81bc8bb1d2cb4 /kernel/log.h
parent307c16a309e0110800d72a46e90470ce30b329aa (diff)
downloadyosys-82fecc98c01dd3883b7d8268d3f1c7c35512f00d.tar.gz
yosys-82fecc98c01dd3883b7d8268d3f1c7c35512f00d.tar.bz2
yosys-82fecc98c01dd3883b7d8268d3f1c7c35512f00d.zip
Harmonize uses of _WIN32 macro
Diffstat (limited to 'kernel/log.h')
-rw-r--r--kernel/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/log.h b/kernel/log.h
index a8aa58a9e..90a12df36 100644
--- a/kernel/log.h
+++ b/kernel/log.h
@@ -173,7 +173,7 @@ struct PerformanceTimer
}
static int64_t query() {
-# if _WIN32
+# ifdef _WIN32
return 0;
# elif defined(_POSIX_TIMERS) && (_POSIX_TIMERS > 0)
struct timespec ts;