aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/startup.c')
-rw-r--r--src/bin/psql/startup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/startup.c b/src/bin/psql/startup.c
index 7c2f555f15c..e2e5678e2d2 100644
--- a/src/bin/psql/startup.c
+++ b/src/bin/psql/startup.c
@@ -110,7 +110,7 @@ log_locus_callback(const char **filename, uint64 *lineno)
}
}
-#ifdef HAVE_POSIX_DECL_SIGWAIT
+#ifndef WIN32
static void
empty_signal_handler(SIGNAL_ARGS)
{
@@ -308,7 +308,7 @@ main(int argc, char *argv[])
psql_setup_cancel_handler();
-#ifdef HAVE_POSIX_DECL_SIGWAIT
+#ifndef WIN32
/*
* do_watch() needs signal handlers installed (otherwise sigwait() will