aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-01-16 05:52:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-01-16 05:52:29 +0000
commitc9dc53be77664952ebd3b50a1e920e92306484de (patch)
tree7a1753137c0034d78fadcd4330e991cf4442fa2b
parenta736540958b4e2bd71903e4122f773112a592bba (diff)
downloadpostgresql-c9dc53be77664952ebd3b50a1e920e92306484de.tar.gz
postgresql-c9dc53be77664952ebd3b50a1e920e92306484de.zip
Huh, apparently on cygwin we HAVE_SIGPROCMASK, so both variants of
the BlockSig/UnBlockSig declaration have to be PGDLLIMPORT'ified. Per buildfarm results.
-rw-r--r--src/include/libpq/pqsignal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/pqsignal.h b/src/include/libpq/pqsignal.h
index 01117f7f05a..84ac438d15f 100644
--- a/src/include/libpq/pqsignal.h
+++ b/src/include/libpq/pqsignal.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/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;