summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/pqsignal.c
diff options
context:
space:
mode:
authorPeter Eisentraut2000-06-11 11:40:09 +0000
committerPeter Eisentraut2000-06-11 11:40:09 +0000
commit06cd0f1a32b843832298471e92cc1c577f1363a1 (patch)
treef94f7a4ea39288ff268213c93aff15e4d00682c2 /src/interfaces/libpq/pqsignal.c
parentb4182b1327415f2ef2cae6e3795d9f04f578df43 (diff)
Substituted new configure test for types of accept()
Interfaced a lot of the custom tests to the config.cache, in the process made them separate macros and grouped them out into files. Made naming adjustments. Removed a couple of useless/unused configure tests. Disabled C++ by default. C++ is no more special than Perl, Python, and Tcl. And it breaks equally often. :(
Diffstat (limited to 'src/interfaces/libpq/pqsignal.c')
-rw-r--r--src/interfaces/libpq/pqsignal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpq/pqsignal.c b/src/interfaces/libpq/pqsignal.c
index 8776a37fe50..651a9140296 100644
--- a/src/interfaces/libpq/pqsignal.c
+++ b/src/interfaces/libpq/pqsignal.c
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/pqsignal.c,v 1.11 2000/01/26 05:58:46 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/pqsignal.c,v 1.12 2000/06/11 11:40:07 petere Exp $
*
* NOTES
* This shouldn't be in libpq, but the monitor and some other
@@ -25,7 +25,7 @@
pqsigfunc
pqsignal(int signo, pqsigfunc func)
{
-#if !defined(USE_POSIX_SIGNALS)
+#if !defined(HAVE_POSIX_SIGNALS)
return signal(signo, func);
#else
struct sigaction act,
@@ -39,5 +39,5 @@ pqsignal(int signo, pqsigfunc func)
if (sigaction(signo, &act, &oact) < 0)
return SIG_ERR;
return oact.sa_handler;
-#endif /* !USE_POSIX_SIGNALS */
+#endif /* !HAVE_POSIX_SIGNALS */
}