diff options
author | Brad King <brad.king@kitware.com> | 2004-03-12 19:43:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-03-12 19:43:32 (GMT) |
commit | aeea4895a542c406fac45e8ceb08543416520fce (patch) | |
tree | 68b889c4ba5f2f077e431901da448c84a95d0963 | |
parent | 94d8d25fd3d038f592002829f8f2f5b390c13623 (diff) | |
download | CMake-aeea4895a542c406fac45e8ceb08543416520fce.zip CMake-aeea4895a542c406fac45e8ceb08543416520fce.tar.gz CMake-aeea4895a542c406fac45e8ceb08543416520fce.tar.bz2 |
ERR: SIGSEGV == SIGBUS on BeOS.
-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; |