Skip to content

Commit 1b575d5

Browse files
dutowjeltz
authored andcommitted
Mark MdSMgrId PGDLLIMPORT
Needed so loadable modules can reference the builtin md smgr id across the DLL boundary on Windows; no-op elsewhere.
1 parent a47606d commit 1b575d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/include/storage

src/include/storage/md.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extern PGDLLIMPORT PgAioHandleCallbacks aio_md_readv_cb;
2424

2525
/* registration function for md storage manager */
2626
extern void mdsmgr_register(void);
27-
extern SMgrId MdSMgrId;
27+
extern PGDLLIMPORT SMgrId MdSMgrId;
2828

2929
/* md storage manager functionality */
3030
extern void mdinit(void);

0 commit comments

Comments
 (0)