summaryrefslogtreecommitdiff
path: root/editors/Sigil/patches/patch-src_minizip_ioapi.c
blob: c2bc45cdaf15f7edb29f4bd989ad874332eeb89f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-src_minizip_ioapi.c,v 1.1 2012/11/19 10:57:45 ryoon Exp $

--- src/minizip/ioapi.c.orig	2012-10-27 11:24:40.000000000 +0000
+++ src/minizip/ioapi.c
@@ -14,6 +14,12 @@
         #define _CRT_SECURE_NO_WARNINGS
 #endif
 
+#if defined(__NetBSD__) || defined(__DragonFly__)
+#define fopen64 fopen
+#define fseeko64 fseek
+#define ftello64 ftello
+#endif
+
 #include "ioapi.h"
 
 voidpf call_zopen64 (const zlib_filefunc64_32_def* pfilefunc,const void*filename,int mode)