Commit 20b72a3f authored by Sergei Golubchik's avatar Sergei Golubchik

compilation fix for Windows

parent 84088d94
...@@ -1378,9 +1378,11 @@ sig_handler handle_sigint(int sig) ...@@ -1378,9 +1378,11 @@ sig_handler handle_sigint(int sig)
if (!executing_query) if (!executing_query)
{ {
tee_fprintf(stdout, "Ctrl-C\n"); tee_fprintf(stdout, "Ctrl-C\n");
#ifdef HAVE_READLINE
rl_on_new_line(); // Regenerate the prompt on a newline rl_on_new_line(); // Regenerate the prompt on a newline
rl_replace_line("", 0); // Clear the previous text rl_replace_line("", 0); // Clear the previous text
rl_redisplay(); rl_redisplay();
#endif
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment