OpenBSD doesn't have sa_restorer.

This commit is contained in:
Anthony J. Bentley 2018-12-07 06:07:40 -07:00
parent a588751c27
commit 2bad812953
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ void install_signal_handlers ()
act.sa_sigaction = signal_handler;
sigemptyset (&act.sa_mask);
act.sa_flags = SA_SIGINFO;
#if !defined(__APPLE__)
#if !defined(__APPLE__) && !defined(__OpenBSD__)
act.sa_restorer = 0;
#endif