Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b8c2421

Browse files
committed
pqsignal call needs to be #ifndef WIN32, per report from Magnus.
1 parent 80c6843 commit b8c2421

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bin/psql/mainloop.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.38 2001/03/23 00:36:38 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.39 2001/03/26 15:18:51 tgl Exp $
77
*/
88
#include "postgres_fe.h"
99
#include "mainloop.h"
@@ -567,7 +567,9 @@ MainLoop(FILE *source)
567567
* it will re-enable ^C catching as soon as it gets back to the top
568568
* of its loop and resets main_loop_jmp to point to itself.
569569
*/
570+
#ifndef WIN32
570571
pqsignal(SIGINT, SIG_DFL);
572+
#endif
571573

572574
destroyPQExpBuffer(query_buf);
573575
destroyPQExpBuffer(previous_buf);

0 commit comments

Comments
 (0)