From 3e77ccf90ca7a377d3aa88448be02f2acaf10c08 Mon Sep 17 00:00:00 2001 From: Alexander Pyhalov Date: Thu, 22 Nov 2018 21:01:22 +0300 Subject: [PATCH] Fix build on OpenIndiana --- mysql_fdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql_fdw.c b/mysql_fdw.c index 10e96db..3e8280f 100644 --- a/mysql_fdw.c +++ b/mysql_fdw.c @@ -200,9 +200,9 @@ static int interactive_timeout = INTERACTIVE_TIMEOUT; bool mysql_load_library(void) { -#if defined(__APPLE__) || defined(__FreeBSD__) +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun) /* - * Mac OS/BSD does not support RTLD_DEEPBIND, but it still + * Mac OS/BSD/illumos does not support RTLD_DEEPBIND, but it still * works without the RTLD_DEEPBIND */ mysql_dll_handle = dlopen(_MYSQL_LIBNAME, RTLD_LAZY);