document FreeBSD specific undefs

Signed-off-by: Lucca Jiménez Könings <development@jimkoen.com>
This commit is contained in:
Lucca Jiménez Könings 2024-01-19 12:42:51 +01:00 committed by Lion
parent 2a54d448c3
commit df5766a935

View File

@ -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