From 125a7be3c5b50f75dfcf1e7efc7fe39ae678e09b Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Tue, 8 Sep 2020 17:07:24 +0200 Subject: [PATCH] Fixed build for macos --- contrib/db/liblmdb/mdb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/db/liblmdb/mdb.c b/contrib/db/liblmdb/mdb.c index f9b48233..17762e84 100644 --- a/contrib/db/liblmdb/mdb.c +++ b/contrib/db/liblmdb/mdb.c @@ -132,8 +132,10 @@ extern int cacheflush(char *addr, int nbytes, int cache); #ifdef _WIN32 typedef int64_t off64_t; +#elif __APPLE__ +typedef off_t off64_t; #else -//typedef off_t off64_t; + #endif