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