1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Remove legacy stuff in common.h (#20523)

* Remove old interop macro

* Remove legacy string macro things

* Unbreak the posix/linux/unix builds

* Add String::IEquals and use it for case insensitive compare

* Add missing include for posix

* Replace _strnicmp with String::StartsWith

* Add LoByte and HiByte into Util.h, swap macros

* Fix android build

* Hopefully last of the string things

* Replace STUB directly with the warning
This commit is contained in:
Matthias Moninger
2023-07-02 12:59:20 +03:00
committed by GitHub
parent 2b6cfafc92
commit 379287ed0f
20 changed files with 80 additions and 65 deletions

View File

@@ -14,6 +14,7 @@
# include <limits.h>
# include <locale.h>
# include <pwd.h>
# include <unistd.h>
# include <vector>
# if defined(__FreeBSD__) || defined(__NetBSD__)
# include <stddef.h>