Skip to content

Commit 946b078

Browse files
committed
MyBackendId now needs to be PGDLLIMPORT, so that contrib modules can
access it on Windows. Per buildfarm.
1 parent 27f145a commit 946b078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/storage/backendid.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/storage/backendid.h,v 1.23 2010/01/02 16:58:08 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/storage/backendid.h,v 1.24 2010/08/14 13:37:21 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -22,6 +22,6 @@ typedef int BackendId; /* unique currently active backend identifier */
2222

2323
#define InvalidBackendId (-1)
2424

25-
extern BackendId MyBackendId; /* backend id of this backend */
25+
extern PGDLLIMPORT BackendId MyBackendId; /* backend id of this backend */
2626

2727
#endif /* BACKENDID_H */

0 commit comments

Comments
 (0)