From e7192cd37554639babde2b6cc6b58d2e56f7357f Mon Sep 17 00:00:00 2001 From: gatecat Date: Fri, 26 Jan 2024 17:57:22 +0100 Subject: [PATCH] static: Fix ifdefs Signed-off-by: gatecat --- common/place/placer_static.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/place/placer_static.cc b/common/place/placer_static.cc index a7a0004f..4d10f073 100644 --- a/common/place/placer_static.cc +++ b/common/place/placer_static.cc @@ -40,7 +40,7 @@ #include "fftsg.h" -#ifndef NEXTPNR_DISABLE_THREADS +#ifndef NPNR_DISABLE_THREADS #include #include #include @@ -148,7 +148,7 @@ struct PlacerNet int hpwl() { return (b1.x - b0.x) + (b1.y - b0.y); } }; -#ifdef NEXTPNR_DISABLE_THREADS +#ifdef NPNR_DISABLE_THREADS struct ThreadPool { ThreadPool(int){};