mirror of https://github.com/YosysHQ/yosys.git
Harmonize uses of _WIN32 macro
This commit is contained in:
parent
307c16a309
commit
82fecc98c0
|
@ -173,7 +173,7 @@ struct PerformanceTimer
|
||||||
}
|
}
|
||||||
|
|
||||||
static int64_t query() {
|
static int64_t query() {
|
||||||
# if _WIN32
|
# ifdef _WIN32
|
||||||
return 0;
|
return 0;
|
||||||
# elif defined(_POSIX_TIMERS) && (_POSIX_TIMERS > 0)
|
# elif defined(_POSIX_TIMERS) && (_POSIX_TIMERS > 0)
|
||||||
struct timespec ts;
|
struct timespec ts;
|
||||||
|
|
Loading…
Reference in New Issue