mdbx: fix and check width of off_t for Android.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-04-19 20:00:29 +03:00
parent 682ff99f1c
commit eb8bc865d1
3 changed files with 17 additions and 1 deletions

View File

@@ -47,7 +47,8 @@
/*----------------------------------------------------------------------------*/
/* Should be defined before any includes */
#ifndef _FILE_OFFSET_BITS
#if !defined(_FILE_OFFSET_BITS) && !defined(__ANDROID_API__) && \
!defined(ANDROID)
#define _FILE_OFFSET_BITS 64
#endif