summaryrefslogtreecommitdiffstats
path: root/src/btop_tools.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/btop_tools.hpp')
-rw-r--r--src/btop_tools.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/btop_tools.hpp b/src/btop_tools.hpp
index 705a5eb..2502786 100644
--- a/src/btop_tools.hpp
+++ b/src/btop_tools.hpp
@@ -18,6 +18,10 @@ tab-size = 4
#pragma once
+#if !defined(NDEBUG)
+# define BTOP_DEBUG
+#endif
+
#include <algorithm> // for std::ranges::count_if
#include <array>
#include <atomic>
@@ -42,11 +46,9 @@ tab-size = 4
#define HOST_NAME_MAX 64
#endif
#endif
-#define FMT_HEADER_ONLY
+
#include "fmt/core.h"
#include "fmt/format.h"
-#include "fmt/ostream.h"
-#include "fmt/ranges.h"
using std::array;
using std::atomic;