mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
document FreeBSD specific undefs
Signed-off-by: Lucca Jiménez Könings <development@jimkoen.com>
This commit is contained in:
parent
2a54d448c3
commit
df5766a935
@ -291,6 +291,7 @@ TEST_CASE("RegisterThread") {
|
|||||||
CHECK(threadNameMap.at(std::this_thread::get_id()) == "MyThread");
|
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
|
#ifdef BEAMMP_FREEBSD
|
||||||
#undef major
|
#undef major
|
||||||
#undef minor
|
#undef minor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user