mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: detect Cygwin and show error message
This commit is contained in:
parent
c5d868c928
commit
eb069833a8
@ -23,6 +23,9 @@ CommonCHeaders = '
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__CYGWIN__) && !defined(_WIN32)
|
||||
#error Cygwin is not supported, please use MinGW or Visual Studio.
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#include <sys/types.h>
|
||||
|
Loading…
Reference in New Issue
Block a user