From b02fed569dbb943e0a678dd94fb27470a50188ec Mon Sep 17 00:00:00 2001 From: Monte Goulding Date: Mon, 24 Sep 2018 09:16:02 +1000 Subject: [PATCH] [[ Bug ]] Do not define HAVE_GETPWNAM for android mysql client builds This patch comments out the definition of `HAVE_GETPWNAM` for android mysql client builds as the block where it is used calls `endpwent` which is unavailable. --- libmysql/src/config-android.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmysql/src/config-android.h b/libmysql/src/config-android.h index 5fb6fb70..23a842fd 100644 --- a/libmysql/src/config-android.h +++ b/libmysql/src/config-android.h @@ -75,7 +75,7 @@ #define HAVE_GETPAGESIZE 1 #define HAVE_GETPASS 1 /* #undef HAVE_GETPASSPHRASE */ -#define HAVE_GETPWNAM 1 +//#define HAVE_GETPWNAM 1 #define HAVE_GETPWUID 1 #define HAVE_GETRLIMIT 1 #define HAVE_GETRUSAGE 1