Back-patch addition of PGDLLIMPORT to un-break Windows BF animals.

drongo has been failing build in the v14 branch since 67d318e70:

  regress.obj : error LNK2001: unresolved external symbol PGLZ_strategy_always [C:\\prog\\bf\\root\\REL_14_STABLE\\pgsql.build\\regress.vcxproj]

This is evidently because PGLZ_strategy_always was not marked
PGDLLIMPORT in that branch.  Back-patch the relevant part of
8ec569479.  (Maybe we should back-patch more of it, but I'm
content to just touch this one file.)
This commit is contained in:
Tom Lane 2026-04-23 18:12:10 -04:00
parent d2f58c42a2
commit f76685b250

View file

@ -75,8 +75,8 @@ typedef struct PGLZ_Strategy
* output would be larger than input.
* ----------
*/
extern const PGLZ_Strategy *const PGLZ_strategy_default;
extern const PGLZ_Strategy *const PGLZ_strategy_always;
extern PGDLLIMPORT const PGLZ_Strategy *const PGLZ_strategy_default;
extern PGDLLIMPORT const PGLZ_Strategy *const PGLZ_strategy_always;
/* ----------