mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-27 14:30:30 +00:00
document FreeBSD specific undefs
Signed-off-by: Lucca Jiménez Könings <development@jimkoen.com>
This commit is contained in:
1 parent
fb0590653d
commit
0bc3676e8e
1 file changed
+1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user