From: Tom Lane Date: Fri, 26 Nov 2010 22:05:29 +0000 (-0500) Subject: Remove bogus use of PGDLLIMPORT. X-Git-Url: http://git.postgresql.org/gitweb/-?a=commitdiff_plain;h=1d9a0abec1224193fea3acf766b587fc3963a3b8;p=users%2Fhanada%2Fpostgres.git Remove bogus use of PGDLLIMPORT. That macro should be attached to extern declarations, not actual definitions of variables. --- diff --git a/src/backend/utils/init/globals.c b/src/backend/utils/init/globals.c index 5855fe4666..66033ffe17 100644 --- a/src/backend/utils/init/globals.c +++ b/src/backend/utils/init/globals.c @@ -123,4 +123,4 @@ int GinFuzzySearchLimit = 0; * Hook on object accesses. This is intended as infrastructure for security * and logging plugins. */ -PGDLLIMPORT object_access_hook_type object_access_hook = NULL; +object_access_hook_type object_access_hook = NULL;