[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SIGTYPE/RETSIGTYPE
From: |
Glenn Morris |
Subject: |
SIGTYPE/RETSIGTYPE |
Date: |
Sat, 26 Mar 2011 15:34:52 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
The autoconf manual says:
Obsolete Macros: AC_TYPE_SIGNAL
If signal.h declares signal as returning a pointer to a function
returning void, define RETSIGTYPE to be void; otherwise, define it
to be int. These days, it is portable to assume C89, and that signal
handlers return void, without needing to use this macro or RETSIGTYPE.
So is it OK to remove this test from Emacs's configure.in, and replace
RETSIGTYPE (and SIGTYPE, which we define equal to RETSIGTYPE in
AH_BOTTOM) with just `void' everywhere in the sources?
- SIGTYPE/RETSIGTYPE,
Glenn Morris <=