1
0
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:
vitalyster 2019-11-05 19:33:24 +03:00 committed by Alexander Medvednikov
parent c5d868c928
commit eb069833a8

View File

@ -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>