From 474d863fa779e5ae5568e90d7cec8928878229de Mon Sep 17 00:00:00 2001 From: Ken Brown Date: Sun, 18 Mar 2018 11:25:09 -0400 Subject: [PATCH] Don't include intsafe.h on Cygwin This is a w32api header, which brings in several other such headers and breaks the build. --- src/inc/Main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inc/Main.h b/src/inc/Main.h index f66b48d..2c64c6b 100644 --- a/src/inc/Main.h +++ b/src/inc/Main.h @@ -86,7 +86,7 @@ struct telemetry {}; #define HAVE_BUILTIN_OVERFLOW #endif #if defined(__has_include) - #if __has_include() + #if __has_include() && !defined(__CYGWIN__) #define HAVE_INTSAFE_H #endif #elif defined(_WIN32) -- 2.16.2