Remove bogus use of PGDLLIMPORT.
authorTom Lane <[email protected]>
Fri, 26 Nov 2010 22:05:29 +0000 (17:05 -0500)
committerTom Lane <[email protected]>
Fri, 26 Nov 2010 22:05:29 +0000 (17:05 -0500)
That macro should be attached to extern declarations, not actual
definitions of variables.

src/backend/utils/init/globals.c

index 5855fe466632400f3123e109c10231d2a275b57f..66033ffe175e7d0ee0c5752abe9538e82bbdc35e 100644 (file)
@@ -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;