summaryrefslogtreecommitdiff
path: root/backend/epub/minizip
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-16 15:07:18 +0300
committermonsta <[email protected]>2018-01-16 15:07:18 +0300
commit598ecb43a96e03b470c9e74b43dc1bc37f52bad5 (patch)
tree49013f590ddd33cf5c93fdc856521f1c16e20aff /backend/epub/minizip
parent6b911053fd9c35cc1ccc9d3d67cbc2f3258ad1d9 (diff)
downloadatril-598ecb43a96e03b470c9e74b43dc1bc37f52bad5.tar.bz2
atril-598ecb43a96e03b470c9e74b43dc1bc37f52bad5.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/epub/minizip')
-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