summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-01-20 18:21:01 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-01-20 18:21:01 +0000
commit2b51763d312003a6a7d4c6142b3911afb617a503 (patch)
tree972d124a93eded4300ce573f6bccff9b5391a367
parent5c172592edc82f43c4c837ba47390117e5289f3b (diff)
Use #error instead of C syntax error to report an inconsistency in defines
-rw-r--r--sys/dev/isa/isavar.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/isa/isavar.h b/sys/dev/isa/isavar.h
index 4cc2045234f..a3c807842dd 100644
--- a/sys/dev/isa/isavar.h
+++ b/sys/dev/isa/isavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: isavar.h,v 1.33 1999/01/16 08:28:30 mickey Exp $ */
+/* $OpenBSD: isavar.h,v 1.34 1999/01/20 18:21:00 niklas Exp $ */
/* $NetBSD: isavar.h,v 1.26 1997/06/06 23:43:57 thorpej Exp $ */
/*-
@@ -122,28 +122,28 @@
*/
struct isabus_attach_args;
-#if (alpha + amiga + i386 + arc + wgrisc + powerpc +hppa != 1)
-ERROR: COMPILING ISA FOR UNSUPPORTED MACHINE, OR MORE THAN ONE.
+#if (alpha + amiga + i386 + arc + wgrisc + powerpc + hppa != 1)
+#error "COMPILING ISA FOR UNSUPPORTED MACHINE, OR MORE THAN ONE."
#endif
-#if alpha
+#ifdef alpha
#include <alpha/isa/isa_machdep.h>
#endif
-#if amiga
+#ifdef amiga
#include <amiga/isa/isa_machdep.h>
#endif
-#if i386
+#ifdef i386
#include <i386/isa/isa_machdep.h>
#endif
-#if arc
+#ifdef arc
#include <arc/isa/isa_machdep.h>
#endif
-#if wgrisc
+#ifdef wgrisc
#include <wgrisc/isa/isa_machdep.h>
#endif
-#if powerpc
+#ifdef powerpc
#include <powerpc/isa/isa_machdep.h>
#endif
-#if hppa
+#ifdef hppa
#include <hppa/isa/isa_machdep.h>
#endif