diff options
Diffstat (limited to 'common/place/detail_place_core.h')
-rw-r--r-- | common/place/detail_place_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/place/detail_place_core.h b/common/place/detail_place_core.h index 1c280f24..aaca82f9 100644 --- a/common/place/detail_place_core.h +++ b/common/place/detail_place_core.h @@ -52,7 +52,7 @@ aborts the entire move transaction. #include <queue> -#if !defined(__wasm) +#if !defined(NPNR_DISABLE_THREADS) #include <shared_mutex> #endif @@ -98,7 +98,7 @@ struct DetailPlacerState wirelen_t total_wirelen = 0; double total_timing_cost = 0; -#if !defined(__wasm) +#if !defined(NPNR_DISABLE_THREADS) std::shared_timed_mutex archapi_mutex; #endif |