From: Peter Eisentraut Date: Thu, 14 Sep 2017 12:30:03 +0000 (-0400) Subject: Fix incorrect use of bool X-Git-Tag: REL_11_BETA1~1287 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=cb29ff8315ef74043f279c21783cca8aaf79ebde;p=postgresql.git Fix incorrect use of bool NSUnLinkModule() doesn't take a bool as second argument but one of set of specific constants. The numeric values are the same in this case, but clean it up while we're cleaning up bool use elsewhere. Reviewed-by: Michael Paquier --- diff --git a/src/backend/port/dynloader/darwin.c b/src/backend/port/dynloader/darwin.c index f8fdeaf1222..18092cc759b 100644 --- a/src/backend/port/dynloader/darwin.c +++ b/src/backend/port/dynloader/darwin.c @@ -69,7 +69,7 @@ pg_dlopen(char *filename) void pg_dlclose(void *handle) { - NSUnLinkModule(handle, FALSE); + NSUnLinkModule(handle, NSUNLINKMODULE_OPTION_NONE); } PGFunction