aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-14 13:37:21 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-14 13:37:21 +0000
commit946b07804478d379d29b2b2038a5729b3cad2f55 (patch)
tree6f3ed3f3e8a6c2e08a5b687a35fea4c46ec5f5f8
parent27f145a40e0e0273d8c25fe5e21ef26a51036197 (diff)
downloadpostgresql-946b07804478d379d29b2b2038a5729b3cad2f55.tar.gz
postgresql-946b07804478d379d29b2b2038a5729b3cad2f55.zip
MyBackendId now needs to be PGDLLIMPORT, so that contrib modules can
access it on Windows. Per buildfarm.
-rw-r--r--src/include/storage/backendid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/backendid.h b/src/include/storage/backendid.h
index 4149bd1dc6b..b306717b665 100644
--- a/src/include/storage/backendid.h
+++ b/src/include/storage/backendid.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/backendid.h,v 1.23 2010/01/02 16:58:08 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/storage/backendid.h,v 1.24 2010/08/14 13:37:21 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -22,6 +22,6 @@ typedef int BackendId; /* unique currently active backend identifier */
#define InvalidBackendId (-1)
-extern BackendId MyBackendId; /* backend id of this backend */
+extern PGDLLIMPORT BackendId MyBackendId; /* backend id of this backend */
#endif /* BACKENDID_H */