termux-packages/disabled-packages/mariadb/my_global.h.patch32

13 lines
371 B
Plaintext

32 bit arches have 32 bit off_t on Android
--- ./include/my_global.h 2017-01-18 01:08:20.000000000 +0530
+++ ../my_global.h 2017-02-01 09:24:13.543592127 +0530
@@ -974,7 +974,7 @@
#define MY_ERRPTR ((void*)(intptr)1)
-#if defined(_WIN32)
+#if defined(_WIN32) || defined(__ANDROID__)
typedef unsigned long long my_off_t;
typedef unsigned long long os_off_t;
#else