compiler: display error when MinGW configuration is outdated

pull/2656/head
vitalyster 2019-11-05 18:39:44 +03:00 committed by Alexander Medvednikov
parent b2f8944b1f
commit 67f68df8a8
1 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,11 @@ CommonCHeaders = '
#include <ctype.h>
#include <locale.h> // tolower
#include <sys/time.h>
#include <unistd.h> // sleep
#include <unistd.h> // sleep
#else
#if defined(__MSVCRT_VERSION__) && __MSVCRT_VERSION__ < __MSVCR90_DLL
#error Please upgrade your MinGW distribution to use msvcr90.dll or later.
#endif
#endif