More MinGW removal stuff.

This commit is contained in:
Pietro Gagliardi 2015-12-09 15:31:14 -05:00
parent 5e26720f18
commit be6555d885
1 changed files with 1 additions and 14 deletions

View File

@ -9,21 +9,8 @@
#endif
// MinGW
// Only MinGW-w64 is supported due to supporting APIs introduced after 2001.
// 4.0.0 is required due to its improved Vista support.
#ifdef __MINGW32__
#ifndef __MINGW64_VERSION_MAJOR
#error At present, only MinGW-w64 (>= 4.0.0) is supported. Other toolchains will be supported in the future (but other variants of MinGW will not).
#endif
#if __MINGW64_VERSION_MAJOR > 4
#define ui_good_mingw
#elif (__MINGW64_VERSION_MAJOR == 4) && (__MINGW64_VERSION_MINOR > 0)
#define ui_good_mingw
#endif
#ifndef ui_good_mingw
#error MinGW-w64 version 4.0.0 or newer is required.
#endif
#undef ui_good_mingw
#error At present, MinGW is not supported; see README.md for details.
#endif
// other compilers can be added here as necessary