diff options
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index 2a85696..b5c1e19 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -1476,7 +1476,9 @@ static void kwsysProcessSetExitException(kwsysProcess* cp, int sig) case SIGSEGV: KWSYSPE_CASE(Fault, "Segmentation fault"); break; #endif #ifdef SIGBUS +# if !defined(SIGSEGV) || SIGBUS != SIGSEGV case SIGBUS: KWSYSPE_CASE(Fault, "Bus error"); break; +# endif #endif #ifdef SIGFPE case SIGFPE: KWSYSPE_CASE(Numerical, "Floating-point exception"); break; |