Some little hacks to ensure proper mingw print format is used
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
a1e0af2fda
commit
5946464fc9
5 changed files with 23 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue