X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-signal.c;h=7103e1ff19cddd1d1ac39a8baf1dcf8420d792cc;hb=4b6dad7e35019625bd5eb30796beebac099a7422;hp=71c6061cd4277283ea05ba9c3fb4cb46e4f94a4b;hpb=b72a99f8ceba63a6b43221e279e1eb8b69a056b3;p=gnulib.git diff --git a/tests/test-signal.c b/tests/test-signal.c index 71c6061cd..7103e1ff1 100644 --- a/tests/test-signal.c +++ b/tests/test-signal.c @@ -1,5 +1,5 @@ /* Test of substitute. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -59,7 +59,8 @@ main (void) #ifdef SIGALRM case SIGALRM: #endif -#ifdef SIGBUS + /* On Haiku, SIGBUS is mistakenly equal to SIGSEGV. */ +#if defined SIGBUS && SIGBUS != SIGSEGV case SIGBUS: #endif #ifdef SIGCHLD