From ed90c948e73bfaa3e668b3d5f5e73f306b6c49bc Mon Sep 17 00:00:00 2001 From: Cristy Date: Thu, 15 Mar 2018 20:20:47 -0400 Subject: [PATCH] ... --- MagickCore/magick.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MagickCore/magick.c b/MagickCore/magick.c index 3dec681a1..bd33ce389 100644 --- a/MagickCore/magick.c +++ b/MagickCore/magick.c @@ -1318,6 +1318,9 @@ static SignalHandler *SetMagickSignalHandler(int signal_number, action.sa_flags=0; #if defined(SA_INTERRUPT) action.sa_flags|=SA_INTERRUPT; +#endif +#if defined(SA_ONSTACK) + action.sa_flags|=SA_ONSTACK; #endif status=sigaction(signal_number,&action,&previous_action); if (status < 0) -- 2.40.0