compiler: detect Cygwin and show error message
parent
c5d868c928
commit
eb069833a8
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue