diff options
Diffstat (limited to 'src/bin/pg_basebackup/pg_receivexlog.c')
-rw-r--r-- | src/bin/pg_basebackup/pg_receivexlog.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/pg_basebackup/pg_receivexlog.c b/src/bin/pg_basebackup/pg_receivexlog.c index 9a943d049f1..b05f7dbc598 100644 --- a/src/bin/pg_basebackup/pg_receivexlog.c +++ b/src/bin/pg_basebackup/pg_receivexlog.c @@ -278,12 +278,16 @@ StreamLog(void) * When sigint is called, just tell the system to exit at the next possible * moment. */ +#ifndef WIN32 + static void sigint_handler(int signum) { time_to_abort = true; } +#endif + int main(int argc, char **argv) { |