Yaakov,

FYI, I had occasion to build graphite2-1.3.11 in connection with TeX Live, and I needed the attached patch. I've reported this upstream:

  https://github.com/silnrsi/graphite/issues/32

Ken
From 474d863fa779e5ae5568e90d7cec8928878229de Mon Sep 17 00:00:00 2001
From: Ken Brown <kbr...@cornell.edu>
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(<intsafe.h>)
+  #if __has_include(<intsafe.h>) && !defined(__CYGWIN__)
     #define HAVE_INTSAFE_H
   #endif
 #elif defined(_WIN32)
-- 
2.16.2

Reply via email to