compiler: detect Cygwin and show error message

pull/2660/head
vitalyster 2019-11-05 19:33:24 +03:00 committed by Alexander Medvednikov
parent c5d868c928
commit eb069833a8
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ CommonCHeaders = '
#endif #endif
#endif #endif
#if defined(__CYGWIN__) && !defined(_WIN32)
#error Cygwin is not supported, please use MinGW or Visual Studio.
#endif
#ifdef __linux__ #ifdef __linux__
#include <sys/types.h> #include <sys/types.h>