|
[Sbcl-commits] CVS: sbcl/src/runtime bsd-os.h,1.7,1.8
From: William Harold Newman <wnewman@us...> - 2002-07-23 23:52
|
Update of /cvsroot/sbcl/sbcl/src/runtime In directory usw-pr-cvs1:/tmp/cvs-serv17979/src/runtime Modified Files: bsd-os.h Log Message: 0.7.6.3: tweaked bsd-os.h to make the new sigaltstack(2) stuff build on OpenBSD/x86 fixed bug 189: Now FLET and LABELS inlining respects NOTINLINE declarations as required by ANSI. While I'm at it, suppress FLET/LABELS inlining when (> DEBUG SPEED) too. Index: bsd-os.h =================================================================== RCS file: /cvsroot/sbcl/sbcl/src/runtime/bsd-os.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- bsd-os.h 23 Jul 2002 17:22:37 -0000 1.7 +++ bsd-os.h 23 Jul 2002 23:52:17 -0000 1.8 @@ -23,6 +23,14 @@ typedef int os_vm_prot_t; typedef int os_context_register_t; +#if defined __OpenBSD__ +/* name defined for compatibility between OpenBSD 3.1 sigaltstack(2) and + * Linux sigaltstack(2) */ +typedef struct sigaltstack stack_t; +#elif defined __FreeBSD__ +/* FreeBSD 4.6 already has stack_t defined. */ +#endif + #if defined __FreeBSD__ /* Note: The man page for sigaction(2) in FreeBSD 4.0 says that this * is an mcontext_t, but according to comments by Raymond Wiker in the |
| Thread | Author | Date |
|---|---|---|
| [Sbcl-commits] CVS: sbcl/src/runtime bsd-os.h,1.7,1.8 | William Harold Newman <wnewman@us...> |