diff --git a/vlib/compiler/cheaders.v b/vlib/compiler/cheaders.v index 6b5cfa9215..f2bd170659 100644 --- a/vlib/compiler/cheaders.v +++ b/vlib/compiler/cheaders.v @@ -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