From: Bruno Haible Date: Tue, 9 May 2006 18:35:25 +0000 (+0000) Subject: Avoid crash in signal handler on Cygwin. X-Git-Tag: v0.15~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8ab69bcf4a5462795b280992b07a896e1eeb65;p=thirdparty%2Fgettext.git Avoid crash in signal handler on Cygwin. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index ee7a91710..c6a291aa4 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,7 @@ +2006-05-09 Bruno Haible + + * plural-eval.h (USE_SIGINFO): Don't define on Cygwin. + 2006-05-02 Charles Wilson * write-mo.h: Remove DLL_VARIABLE declarations, not needed since diff --git a/gettext-tools/src/plural-eval.h b/gettext-tools/src/plural-eval.h index d38b666f6..7acba2512 100644 --- a/gettext-tools/src/plural-eval.h +++ b/gettext-tools/src/plural-eval.h @@ -1,5 +1,5 @@ /* Expression evaluation for plural form selection. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005-2006 Free Software Foundation, Inc. Written by Bruno Haible , 2005. This program is free software; you can redistribute it and/or modify @@ -38,8 +38,8 @@ #endif /* We use siginfo to get precise information about the signal. - But siginfo doesn't work on Irix 6.5. */ -#if HAVE_SIGINFO && !defined (__sgi) + But siginfo doesn't work on Irix 6.5 and on Cygwin 2005. */ +#if HAVE_SIGINFO && !defined (__sgi) && !defined (__CYGWIN__) # define USE_SIGINFO 1 #endif