Skip to content

Commit

Permalink
static: Fix ifdefs
Browse files Browse the repository at this point in the history
Signed-off-by: gatecat <[email protected]>
  • Loading branch information
gatecat committed Jan 26, 2024
1 parent 9dcd0ef commit e7192cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/place/placer_static.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

#include "fftsg.h"

#ifndef NEXTPNR_DISABLE_THREADS
#ifndef NPNR_DISABLE_THREADS
#include <atomic>
#include <condition_variable>
#include <mutex>
Expand Down Expand Up @@ -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){};
Expand Down

0 comments on commit e7192cd

Please sign in to comment.