X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fsyssignal.h;h=cacf07bb6fafc9542ccd44acd44de67d6716a188;hb=2cbece6401b2279497293e6dc54cda607f49db2f;hp=1332f397ee6c5aa4b4c994cdf21e45faff88a664;hpb=77dcef404dc78635f6ffa8f71a803d2bc7cc8921;p=chise%2Fxemacs-chise.git- diff --git a/src/syssignal.h b/src/syssignal.h index 1332f39..cacf07b 100644 --- a/src/syssignal.h +++ b/src/syssignal.h @@ -20,8 +20,8 @@ Boston, MA 02111-1307, USA. */ /* Synched up with: FSF 19.30. */ -#ifndef _XEMACS_SYSSIGNAL_H_ -#define _XEMACS_SYSSIGNAL_H_ +#ifndef INCLUDED_syssignal_h_ +#define INCLUDED_syssignal_h_ /* In the old world, one could not #include here. The party line was that that header should always be #included before , because @@ -213,7 +213,7 @@ signal_handler_t sys_do_signal (int signal_number, signal_handler_t action); #define EMACS_KILLPG(gid, signo) killpg (gid, signo) #else #ifdef WINDOWSNT -#define EMACS_KILLPG(gid, signo) (kill (gid, signo)) +#define EMACS_KILLPG(gid, signo) kill (gid, signo) #else #define EMACS_KILLPG(gid, signo) kill (-(gid), signo) #endif @@ -227,14 +227,14 @@ signal_handler_t sys_do_signal (int signal_number, signal_handler_t action); configure incorrectly fails to find it, so s/linux.h defines HAVE_SYS_SIGLIST. */ #if !defined (SYS_SIGLIST_DECLARED) && !defined (HAVE_SYS_SIGLIST) -extern CONST char *sys_siglist[]; +extern const char *sys_siglist[]; #endif #ifdef SIGDANGER SIGTYPE memory_warning_signal (int sig); #endif -#ifdef _WIN32 +#ifdef WINDOWSNT /* Prototypes for signal functions, see nt.c */ typedef void (__cdecl *msw_sighandler) (int); msw_sighandler msw_sigset (int sig, msw_sighandler handler); @@ -244,4 +244,4 @@ int msw_sigpause (int nsig); int msw_raise (int nsig); #endif /* _WIN32 */ -#endif /* _XEMACS_SYSSIGNAL_H_ */ +#endif /* INCLUDED_syssignal_h_ */