Some little hacks to ensure proper mingw print format is used

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-01-10 10:50:36 +00:00
parent a1e0af2fda
commit 5946464fc9
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
5 changed files with 23 additions and 13 deletions

View file

@ -22,6 +22,12 @@
# define PRIVATE_WAS_DEFINED
#endif
// use mingw print format
#if defined(ARCH_WIN) && !defined(SKIP_MINGW_FORMAT)
# include <regex>
# define format(f,a,b) format(__MINGW_PRINTF_FORMAT,a,b)
#endif
#include_next "common.hpp"
// Make binary resources work the same no matter the OS