From: Kirk McKusick Date: Tue, 11 Jan 1983 10:33:50 +0000 (-0800) Subject: ifdef VAX => ifdef vax X-Git-Tag: BSD-4_1c_2-Snapshot-Development~1130 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/46e2cc40580ade6fe96386e6db39fd1b8042a80c ifdef VAX => ifdef vax SCCS-vsn: usr.bin/pascal/libpc/EXCEPT.c 1.3 --- diff --git a/usr/src/usr.bin/pascal/libpc/EXCEPT.c b/usr/src/usr.bin/pascal/libpc/EXCEPT.c index 81009a2c0b..9d6fb28950 100644 --- a/usr/src/usr.bin/pascal/libpc/EXCEPT.c +++ b/usr/src/usr.bin/pascal/libpc/EXCEPT.c @@ -1,9 +1,8 @@ /* Copyright (c) 1982 Regents of the University of California */ -static char sccsid[] = "@(#)EXCEPT.c 1.2 %G%"; +static char sccsid[] = "@(#)EXCEPT.c 1.3 %G%"; #include -#include "whoami.h" /* * catch runtime arithmetic errors @@ -12,10 +11,11 @@ EXCEPT(signum, type) int signum, type; { signal(SIGFPE, EXCEPT); -#ifndef VAX +#ifndef vax ERROR("Overflow, underflow, or division by zero in arithmetic operation\n"); return; -#else +#endif notvax +#ifdef vax /* * The values for this switch statement come from page 12-5 of * Volume 1 of the 1978 VAX 11/780 Architecture Handbook @@ -40,5 +40,5 @@ EXCEPT(signum, type) ERROR("Panic: Computational error in interpreter\n"); return; } -#endif +#endif vax }