summaryrefslogtreecommitdiff
path: root/sys/gnu
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-12-22 16:53:48 +0000
committerBruce Evans <bde@FreeBSD.org>1995-12-22 16:53:48 +0000
commitf15120c618e68301c7971808645ddb086b69c227 (patch)
treec979e4dd9b3ae07a446485bc8d167228e47d9952 /sys/gnu
parentf0a51f0175f43092e2529af205e3c4766660255e (diff)
Notes
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/i386/fpemul/exception.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/gnu/i386/fpemul/exception.h b/sys/gnu/i386/fpemul/exception.h
index 11f9d02160d8..68280e7eefae 100644
--- a/sys/gnu/i386/fpemul/exception.h
+++ b/sys/gnu/i386/fpemul/exception.h
@@ -54,7 +54,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id: exception.h,v 1.2 1994/04/29 21:07:13 gclarkii Exp $
+ * $Id: exception.h,v 1.3 1994/06/10 07:44:12 rich Exp $
*
*
*/
@@ -91,8 +91,14 @@
#ifndef LOCORE
#ifdef DEBUG
-#define EXCEPTION(x) { printf("exception in %s at line %d\n", \
- __FILE__, __LINE__); exception(x); }
+#include <sys/param.h>
+#include <sys/systm.h>
+
+#define EXCEPTION(x) \
+ do { \
+ printf("exception in %s at line %d\n", __FILE__, __LINE__); \
+ exception(x); \
+ } while (0)
#else
#define EXCEPTION(x) exception(x)
#endif