(#18) Don't use mingw's builtin printf

This commit is contained in:
Alcaro
2019-04-28 22:04:59 +02:00
parent 373ea0ae5c
commit 1a9654ca06

View File

@@ -47,6 +47,9 @@
//#define _WIN32_IE 0x0600
//#define __MSVCRT_VERSION__ 0x0601
#define NOMINMAX // this seems automatically on in C++ - crazy.
#include <stdlib.h>
#undef __USE_MINGW_ANSI_STDIO // must remove this, to avoid a libgcc_s_sjlj-1.dll dependency on 32bit
// comments say libstdc++ demands a POSIX printf, but I'm not using that, so I don't care
#include <windows.h>
#include <windowsx.h>
#include <shlobj.h>