From: Larry Doolittle Date: Tue, 6 Mar 2018 17:43:42 +0000 (-0800) Subject: Harmonize uses of _WIN32 macro X-Git-Tag: yosys-0.8~157 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82fecc98c01dd3883b7d8268d3f1c7c35512f00d;p=yosys.git Harmonize uses of _WIN32 macro --- 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;