From 07f5569295659c117d0c232d9fde302f5660b01e Mon Sep 17 00:00:00 2001 From: dtc <dtc> Date: Wed, 22 Sep 1999 14:42:08 +0000 Subject: [PATCH] If sa_sigaction is not defined in the systems header files then define it here to be sa_handler. This is necessary for older Linux distributions which do not define sa_sigaction. --- lisp/Linux-os.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/Linux-os.h b/lisp/Linux-os.h index 2bf9a1d3e..a2a1117f9 100644 --- a/lisp/Linux-os.h +++ b/lisp/Linux-os.h @@ -1,4 +1,4 @@ -/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/Linux-os.h,v 1.10 1999/09/16 15:26:32 dtc Exp $ +/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/Linux-os.h,v 1.11 1999/09/22 14:42:08 dtc Exp $ This code was written as part of the CMU Common Lisp project at Carnegie Mellon University, and has been placed in the public domain. @@ -106,3 +106,7 @@ typedef struct sigcontext_struct sigcontext; #ifdef alpha #define uc_sigmask sc_mask #endif /* alpha */ + +#ifndef sa_sigaction +#define sa_sigaction sa_handler +#endif -- GitLab