Merge Cygwin build change from next.

This commit is contained in:
Jim Derry 2021-07-12 10:03:53 -04:00
parent dfad115417
commit 228d8e90cd

View file

@ -23,7 +23,7 @@
#define TY_(str) TYDYAPPEND(prvTidy,str) #define TY_(str) TYDYAPPEND(prvTidy,str)
/* Internal symbols are prefixed with 'hidden' attr, to avoid exporting */ /* Internal symbols are prefixed with 'hidden' attr, to avoid exporting */
#ifdef _WIN32 #if defined(_WIN32) || defined(__CYGWIN__)
#define TY_PRIVATE #define TY_PRIVATE
#else #else
#define TY_PRIVATE __attribute__((__visibility__("hidden"))) #define TY_PRIVATE __attribute__((__visibility__("hidden")))