1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 14:47:12 +00:00
termux-packages/packages/libvbisam/vbisam.h.patch
2021-12-28 11:03:03 +01:00

15 lines
270 B
Diff

--- a/vbisam.h
+++ b/vbisam.h
@@ -25,7 +25,11 @@
#define VBISAM_USE_LONG_LONG /* Note hack for now */
#ifdef VBISAM_USE_LONG_LONG
+#ifdef __ANDROID__
+#define vbisam_off_t off_t
+#else
#define vbisam_off_t long long
+#endif
#else
#define vbisam_off_t int
#endif