diff options
Diffstat (limited to 'src/include/port.h')
-rw-r--r-- | src/include/port.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/port.h b/src/include/port.h index 455f72338cd..a61e59c8f84 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -462,6 +462,11 @@ extern int pg_mkdir_p(char *path, int omode); /* port/pqsignal.c */ typedef void (*pqsigfunc) (int signo); extern pqsigfunc pqsignal(int signo, pqsigfunc func); +#ifndef WIN32 +extern pqsigfunc pqsignal_no_restart(int signo, pqsigfunc func); +#else +#define pqsignal_no_restart(signo, func) pqsignal(signo, func) +#endif /* port/quotes.c */ extern char *escape_single_quotes_ascii(const char *src); |