aboutsummaryrefslogtreecommitdiffstats
path: root/win32/patches/freetype.patch
blob: 1593340a0c32741e9a124583f2f1f341e196989d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -upr freetype-2.5.2/src/gzip/ftgzip.c freetype-2.5.2.new/src/gzip/ftgzip.c
--- freetype-2.5.2/src/gzip/ftgzip.c    2013-08-29 15:53:13 +0000
+++ freetype-2.5.2.new/src/gzip/ftgzip.c    2014-01-10 20:14:37 +0000
@@ -45,6 +44,14 @@
 #error "gzip code does not support PIC yet"
 #endif
 
+#ifndef __int64
+# define __int64 long long
+#endif
+typedef long _off_t;
+typedef _off_t off_t;
+typedef __int64 _off64_t;
+typedef __int64 off64_t;
+
 #ifdef FT_CONFIG_OPTION_SYSTEM_ZLIB
 
 #include <zlib.h>