mariadb: Enable package (64-bit only for now)
[termux-packages] / packages / mariadb / m_ctype.h.patch
CommitLineData
f8cb5237
VB
1bionic snprintf is defined as a macro, so this saves chaos
2--- ./include/m_ctype.h 2017-01-18 01:08:20.000000000 +0530
3+++ ../m_ctype.h 2017-02-01 09:14:37.958658913 +0530
4@@ -398,7 +398,9 @@
5 const char *m_cannot_convert_error_pos;
6 } MY_STRCONV_STATUS;
7
8-
9+#ifdef __ANDROID__
10+#undef snprintf
11+#endif
12 /* See strings/CHARSET_INFO.txt about information on this structure */
13 struct my_charset_handler_st
14 {