move undef macros into Compat.h

Signed-off-by: Lucca Jiménez Könings <development@jimkoen.com>
This commit is contained in:
Lucca Jiménez Könings authored and Lion committed 2024-01-19 14:29:05 +01:00
1 parent 6ca4acbbf8
commit 9948f2412d
2 files changed
+3 -6

No files matched your search

+3
View File
@@ -16,6 +16,9 @@ char _getch();
#include <termios.h>
#include <unistd.h>
char _getch();
// macros 'major' and 'minor' need to be undefined on FreeBSD to avoid naming collision with system headers
#undef major
#undef minor
#endif // freebsd
// ======================= APPLE ========================