static: Fix ifdefs

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2024-01-26 17:57:22 +01:00
parent 9dcd0eff16
commit e7192cd375

View File

@ -40,7 +40,7 @@
#include "fftsg.h" #include "fftsg.h"
#ifndef NEXTPNR_DISABLE_THREADS #ifndef NPNR_DISABLE_THREADS
#include <atomic> #include <atomic>
#include <condition_variable> #include <condition_variable>
#include <mutex> #include <mutex>
@ -148,7 +148,7 @@ struct PlacerNet
int hpwl() { return (b1.x - b0.x) + (b1.y - b0.y); } int hpwl() { return (b1.x - b0.x) + (b1.y - b0.y); }
}; };
#ifdef NEXTPNR_DISABLE_THREADS #ifdef NPNR_DISABLE_THREADS
struct ThreadPool struct ThreadPool
{ {
ThreadPool(int){}; ThreadPool(int){};