diff options
Diffstat (limited to 'src/bin/psql/mainloop.c')
| -rw-r--r-- | src/bin/psql/mainloop.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/psql/mainloop.c b/src/bin/psql/mainloop.c index 4c5c7c55858..4bd4608e5ce 100644 --- a/src/bin/psql/mainloop.c +++ b/src/bin/psql/mainloop.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.23 2000/03/01 21:09:58 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.24 2000/03/05 13:30:19 petere Exp $ */ #include "postgres.h" #include "mainloop.h" @@ -92,6 +92,7 @@ MainLoop(FILE *source) /* main loop to get queries and execute them */ while (1) { +#ifndef WIN32 /* * Welcome code for Control-C */ @@ -133,7 +134,7 @@ MainLoop(FILE *source) break; } } - +#endif /* not WIN32 */ if (slashCmdStatus == CMD_NEWEDIT) { |
