From 0bc3676e8e9698bad4f0d639a226af11651898e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucca=20Jim=C3=A9nez=20K=C3=B6nings?= Date: Fri, 19 Jan 2024 12:42:51 +0100 Subject: [PATCH] document FreeBSD specific undefs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucca Jiménez Könings --- src/Common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Common.cpp b/src/Common.cpp index 5905fe8..c40819e 100644 --- a/src/Common.cpp +++ b/src/Common.cpp @@ -291,6 +291,7 @@ TEST_CASE("RegisterThread") { CHECK(threadNameMap.at(std::this_thread::get_id()) == "MyThread"); } +// macros below need to be undefined on FreeBSD as to avoid naming collision with system headers #ifdef BEAMMP_FREEBSD #undef major #undef minor