summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-16 15:07:18 +0300
committerraveit65 <[email protected]>2018-03-22 13:24:58 +0100
commit83fa307fb17a629cb1fa96bf013da2588e40c9fa (patch)
treee96578f7ecb561c7ab736760bf5740c34f74ceed /backend
parent04cd721160fca092de0c2b6650f8775103cf487e (diff)
downloadatril-83fa307fb17a629cb1fa96bf013da2588e40c9fa.tar.bz2
atril-83fa307fb17a629cb1fa96bf013da2588e40c9fa.tar.xz
epub: make minizip support more BSD variants
closes https://github.com/mate-desktop/atril/issues/290 which has the original patch
Diffstat (limited to 'backend')
-rw-r--r--backend/epub/minizip/ioapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/epub/minizip/ioapi.h b/backend/epub/minizip/ioapi.h
index 9c137e83..137cd64e 100644
--- a/backend/epub/minizip/ioapi.h
+++ b/backend/epub/minizip/ioapi.h
@@ -50,7 +50,7 @@
#define ftello64 ftell
#define fseeko64 fseek
#else
-#ifdef __FreeBSD__
+#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
#define fopen64 fopen
#define ftello64 ftello
#define fseeko64 fseeko