diff options
Diffstat (limited to 'mcon/U/d_bsdjmp.U')
-rw-r--r-- | mcon/U/d_bsdjmp.U | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mcon/U/d_bsdjmp.U b/mcon/U/d_bsdjmp.U index 61ed61c..da2f496 100644 --- a/mcon/U/d_bsdjmp.U +++ b/mcon/U/d_bsdjmp.U @@ -1,12 +1,12 @@ -?RCS: $Id: d_bsdjmp.U,v 3.0.1.2 1997/02/28 15:31:10 ram Exp $ +?RCS: $Id$ ?RCS: -?RCS: Copyright (c) 1991-1993, Raphael Manfredi +?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ?RCS: ?RCS: You may redistribute only under the terms of the Artistic Licence, ?RCS: as specified in the README file that comes with the distribution. ?RCS: You may reuse parts of this distribution only within the terms of ?RCS: that same Artistic Licence; a copy of which may be found at the root -?RCS: of the source tree for dist 3.0. +?RCS: of the source tree for dist 4.0. ?RCS: ?RCS: $Log: d_bsdjmp.U,v $ ?RCS: Revision 3.0.1.2 1997/02/28 15:31:10 ram @@ -43,7 +43,7 @@ case "$d_bsdjmp" in #include <setjmp.h> jmp_buf env; int set = 1; -main() +int main() { if (_setjmp(env)) exit(set); @@ -52,7 +52,7 @@ main() exit(1); } EOP - if $cc set.c -o set $libs >/dev/null 2>&1; then + if $cc -o set set.c $libs >/dev/null 2>&1; then if ./set >/dev/null 2>&1; then echo "Good! You have BSD _setjmp and _longjmp routines." >&4 val="$define" |