From eb069833a87b40658b80ce2e677bd414eae87fcd Mon Sep 17 00:00:00 2001 From: vitalyster Date: Tue, 5 Nov 2019 19:33:24 +0300 Subject: [PATCH] compiler: detect Cygwin and show error message --- vlib/compiler/cheaders.v | 3 +++ 1 file changed, 3 insertions(+) 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