Portability improvements. Now compiles and works on Solaris 8, as well

as Linux.
This commit is contained in:
hpa 2001-08-03 03:17:57 +00:00
parent 4003a672ce
commit 266427bc5b
10 changed files with 78 additions and 29 deletions

View file

@ -75,7 +75,7 @@ extern char *xstrdup(const char *);
/*
* Signal-related stuff
*/
void bsd_signal(int, void (*)(int));
void (*bsd_signal(int, void (*)(int)))(int);
#ifndef HAVE_SIGSETJMP
#define sigsetjmp(x,y) setjmp(x)