]> granicus.if.org Git - postgresql/commitdiff
Mark wal_level as PGDLLIMPORT.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 May 2016 02:48:47 +0000 (22:48 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 May 2016 02:48:47 +0000 (22:48 -0400)
Per buildfarm, this is needed to allow extensions to use XLogIsNeeded()
in Windows builds.

src/include/access/xlog.h

index 0744c3f972059fedfee74ec8ba5548222c7b9b92..e7e91fcb039830873299d89fc2a549a1233ad26a 100644 (file)
@@ -124,7 +124,8 @@ typedef enum WalLevel
        WAL_LEVEL_REPLICA,
        WAL_LEVEL_LOGICAL
 } WalLevel;
-extern int     wal_level;
+
+extern PGDLLIMPORT int wal_level;
 
 /* Is WAL archiving enabled (always or only while server is running normally)? */
 #define XLogArchivingActive() \