mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-05 03:30:24 +02:00
[libguile slog] Hardcode 'SIGRETTYPE' to 'void'
* libguile/scmsigs.c (SIGRETTYPE): ...here, replacing nested conditional preprocessor expression.
This commit is contained in:
parent
dad6ec0846
commit
f07b5f8414
1 changed files with 4 additions and 10 deletions
|
@ -65,17 +65,11 @@
|
|||
|
||||
|
||||
|
||||
/* SIGRETTYPE is the type that signal handlers return. See <signal.h> */
|
||||
/* SIGRETTYPE is the type that signal handlers return. See <signal.h>.
|
||||
We used to use Autoconf macro 'AC_TYPE_SIGNAL' to define 'RETSIGTYPE',
|
||||
and then define SIGRETTYPE to that, but that's no longer necessary. */
|
||||
|
||||
#ifdef RETSIGTYPE
|
||||
# define SIGRETTYPE RETSIGTYPE
|
||||
#else
|
||||
# ifdef STDC_HEADERS
|
||||
# define SIGRETTYPE void
|
||||
# else
|
||||
# define SIGRETTYPE int
|
||||
# endif
|
||||
#endif
|
||||
#define SIGRETTYPE void
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue