From 26fb8e73693c294fcf44af6f62b4ee50fddd2d6b Mon Sep 17 00:00:00 2001 From: Francois Payette Date: Wed, 23 Sep 2020 17:02:14 -0400 Subject: [PATCH] Update mysql_fdw.c merge pr196 which fixes #187 and #174 --- mysql_fdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql_fdw.c b/mysql_fdw.c index 06f35d0..4ccea7a 100644 --- a/mysql_fdw.c +++ b/mysql_fdw.c @@ -247,9 +247,9 @@ static void mysql_stmt_error_print(MySQLFdwExecState *festate, bool mysql_load_library(void) { -#if defined(__APPLE__) || defined(__FreeBSD__) +#if !defined(RTLD_DEEPBIND) /* - * Mac OS/BSD does not support RTLD_DEEPBIND, but it still works without + * Some implementations do not support RTLD_DEEPBIND, but it still * the RTLD_DEEPBIND */ mysql_dll_handle = dlopen(_MYSQL_LIBNAME, RTLD_LAZY);