summaryrefslogtreecommitdiff
path: root/Build/source/libs/freetype2/TLpatches/patch-05-windows-static
blob: 65d19606287414bfaba9c438c233ad86f7761896 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -ur freetype-2.13.0/src/gzip/ftgzip.c freetype-src/src/gzip/ftgzip.c
--- freetype-2.13.0/src/gzip/ftgzip.c	Sat Feb 04 23:00:05 2023
+++ freetype-src/src/gzip/ftgzip.c	Sat Feb 11 08:39:27 2023
@@ -75,6 +75,12 @@
 #define ZEXTERN      static
 #endif
 
+/* In TeX Live, we use the same linking as above for Windows */
+#if defined( _WIN32 )
+#define ZEXPORT
+#define ZEXTERN      static
+#endif
+
 #define HAVE_MEMCPY  1
 #define Z_SOLO       1
 #define Z_FREETYPE   1