1
Fork 0
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:
Thien-Thi Nguyen 2021-02-28 17:03:35 -05:00
parent dad6ec0846
commit f07b5f8414

View file

@ -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