mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 02:30:54 +00:00
move undef macros into Compat.h
Signed-off-by: Lucca Jiménez Könings <development@jimkoen.com>
This commit is contained in:
committed by
Lion
parent
6ca4acbbf8
commit
9948f2412d
@@ -291,12 +291,6 @@ 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
|
||||
#endif
|
||||
|
||||
Version::Version(uint8_t major, uint8_t minor, uint8_t patch)
|
||||
: major(major)
|
||||
, minor(minor)
|
||||
|
||||
Reference in New Issue
Block a user