From ad9a25b0f1b911a530b90dfc866fbbf0a6664880 Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Mon, 12 Jul 2021 09:53:05 -0400 Subject: [PATCH] Fixes #967. I'm not going to bump versions, as this is a build fix without affecting binary outputs. --- 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")))