From 228d8e90cdde5e0da23bf829f40acd27cc6a4ae2 Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Mon, 12 Jul 2021 10:03:53 -0400 Subject: [PATCH] Merge Cygwin build change from next. --- src/forward.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forward.h b/src/forward.h index 55ffaab..e574067 100644 --- a/src/forward.h +++ b/src/forward.h @@ -23,7 +23,7 @@ #define TY_(str) TYDYAPPEND(prvTidy,str) /* Internal symbols are prefixed with 'hidden' attr, to avoid exporting */ -#ifdef _WIN32 +#if defined(_WIN32) || defined(__CYGWIN__) #define TY_PRIVATE #else #define TY_PRIVATE __attribute__((__visibility__("hidden")))