Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 50c078b

Browse files
committed
Add PGDLLIMPORT for FrontendProtocol
1 parent a4eab85 commit 50c078b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utility_stmt_hooking.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
/* we avoid includig libpq.h because it requires openssl.h */
3737
#include "libpq/pqcomm.h"
38-
extern ProtocolVersion FrontendProtocol;
38+
extern PGDLLIMPORT ProtocolVersion FrontendProtocol;
3939
extern void pq_endmsgread(void);
4040

4141
/* Determine whether we should enable COPY or not (PostgresPro has a fix) */

0 commit comments

Comments
 (0)