* hack to get working console IO with Windows GUI applications
* fix MSYS build
* change cppcheck command
* attempt to fix cppcheck error
* fix mingw warning
* we don't need low level code from mpv
* remove unused code
* replace win_fopen.c with wrappers from Chocolate Doom
* always include direct.h on Windows
* add missing header files, fix gcc warning
* move wrappers to m_io.c, formatting
* fix cmakedefine
* always include string.h
* use only strcasecmp and strncasecmp
* add missing thermo.h
* include config.h
* move str(n)casecmp define to doomtype.h
* better support of C89 standart
* VC6 fixes
* __pragma attribute works for _MSC_VER > 1400
* use intptr_t for char*
* C89 has no designated initializers
* correct _MSC_VER versions
* fix check
* add stdint.h for old MSVC versions
Taken from https://github.com/mattn/gntp-send/blob/master/include/msinttypes/stdint.h
* add stdint.h to miniz.h
* make packaging work without Python
* fix window_position initialization
* replace PACKED_STRUCT with i_packed_start.h i_packed_end.h
Thus, we do not use variadic macros from C99.
* undo cmake install changes
* fix icon for VC6
* remove DESCRIPTION and HOMEPAGE_URL from project()
* remove i_packed_start.h and i_packed_end.h
* whitespace fixes
* rename PACKEDPREFIX->PACKED_PREFIX and PACKEDATTR->PACKED_SUFFIX
* MINGW check doesn't work this early
* add check for minimum cmake version for MINGW targets