diff --git a/logerrors.c b/logerrors.c index 5aaed76..b1cc70b 100644 --- a/logerrors.c +++ b/logerrors.c @@ -121,7 +121,7 @@ logerrors_sigterm(SIGNAL_ARGS) errno = save_errno; } -void logerrors_main(Datum) pg_attribute_noreturn(); +PGDLLEXPORT void logerrors_main(Datum) pg_attribute_noreturn(); static void global_variables_init()