]> granicus.if.org Git - postgresql/commitdiff
Huh, apparently on cygwin we HAVE_SIGPROCMASK, so both variants of
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Jan 2010 05:52:29 +0000 (05:52 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Jan 2010 05:52:29 +0000 (05:52 +0000)
the BlockSig/UnBlockSig declaration have to be PGDLLIMPORT'ified.
Per buildfarm results.

src/include/libpq/pqsignal.h

index 01117f7f05a25a34e28bf7d30d012ca46126c82b..84ac438d15f69ea6f6ad0734deda36a3e5f70b48 100644 (file)
@@ -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/libpq/pqsignal.h,v 1.38 2010/01/16 00:04:41 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/libpq/pqsignal.h,v 1.39 2010/01/16 05:52:29 tgl Exp $
  *
  * NOTES
  *       This shouldn't be in libpq, but the monitor and some other
@@ -21,7 +21,7 @@
 #include <signal.h>
 
 #ifdef HAVE_SIGPROCMASK
-extern sigset_t UnBlockSig,
+extern PGDLLIMPORT sigset_t UnBlockSig,
                        BlockSig,
                        StartupBlockSig;