From 351ca3b5eac472b4bd08b11a4aa6fb67e545eda3 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Mon, 15 Mar 2021 10:25:46 -0700 Subject: Use NEXTPNR_NAMESPACE macro's now that headers are seperated. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- common/bits.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/bits.h') diff --git a/common/bits.h b/common/bits.h index d1598a8e..1d6bb8be 100644 --- a/common/bits.h +++ b/common/bits.h @@ -37,9 +37,9 @@ #pragma intrinsic(_BitScanForward, _BitScanReverse, __popcnt) #endif -// Uses plain nextpnr namespace to avoid header inclusion nightmare that is -// "nextpnr.h". -namespace nextpnr { +#include "nextpnr_namespaces.h" + +NEXTPNR_NAMESPACE_BEGIN struct Bits { @@ -71,6 +71,6 @@ struct Bits } }; -}; // namespace nextpnr +NEXTPNR_NAMESPACE_END #endif /* BITS_H */ -- cgit v1.2.3