From 04aefcb1ec248bbcafadbe0522703311418e4dd1 Mon Sep 17 00:00:00 2001 From: fmwviormv Date: Thu, 23 Apr 2015 13:13:12 +0430 Subject: [PATCH] Update ioapi.c --- neo/framework/minizip/ioapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/framework/minizip/ioapi.c b/neo/framework/minizip/ioapi.c index 5dc99d59..f59b904a 100644 --- a/neo/framework/minizip/ioapi.c +++ b/neo/framework/minizip/ioapi.c @@ -17,7 +17,7 @@ #define _CRT_SECURE_NO_WARNINGS #endif -#if defined(__APPLE__) || defined(IOAPI_NO_64) +#if defined(__APPLE__) || defined(IOAPI_NO_64) || defined(__OpenBSD__) // In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions #define FOPEN_FUNC(filename, mode) fopen(filename, mode) #define FTELLO_FUNC(stream) ftello(stream)