summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-03 16:01:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-03 16:01:27 +0000
commit8830fe7e9982f9b8d14c51c96c6e90399c9ee9da (patch)
tree0f076785dede82eb9f2438a46712ce889730715c /sys/compat
parent429c40207453992810de55f3e82b81d92adf71da (diff)
use __sparc__ just in case
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/sunos/exec.h4
-rw-r--r--sys/compat/sunos/sunos.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/sunos/exec.h b/sys/compat/sunos/exec.h
index 2b75bb93a29..18ae7ee5e9a 100644
--- a/sys/compat/sunos/exec.h
+++ b/sys/compat/sunos/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.2 1996/08/02 20:35:30 niklas Exp $ */
+/* $OpenBSD: exec.h,v 1.3 1999/06/03 16:01:11 deraadt Exp $ */
/* $NetBSD: exec.h,v 1.4 1994/10/25 23:03:22 deraadt Exp $ */
/*
@@ -40,7 +40,7 @@ struct sunos_exec {
#define SUNOS_M_68020 2 /* runs only on 68020 */
#define SUNOS_M_SPARC 3 /* runs only on SPARC */
-#ifdef sparc
+#ifdef __sparc__
#define SUNOS_M_NATIVE SUNOS_M_SPARC
#else
#define SUNOS_M_NATIVE SUNOS_M_68020
diff --git a/sys/compat/sunos/sunos.h b/sys/compat/sunos/sunos.h
index 6513c044cb6..0392623d402 100644
--- a/sys/compat/sunos/sunos.h
+++ b/sys/compat/sunos/sunos.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sunos.h,v 1.6 1997/02/01 21:49:53 deraadt Exp $ */
+/* $OpenBSD: sunos.h,v 1.7 1999/06/03 16:01:15 deraadt Exp $ */
/* $NetBSD: sunos.h,v 1.8 1996/05/05 16:07:43 veego Exp $ */
#define SUNM_RDONLY 0x01 /* mount fs read-only */
@@ -145,7 +145,7 @@ struct sunos_audio_info {
__BEGIN_DECLS
/* Defined in arch/m68k/m68k/sunos_machdep.c -- sparc uses regular sendsig() */
-#ifndef sparc
+#ifndef __sparc__
void sunos_sendsig __P((sig_t, int, int, u_long, int, union sigval));
#endif
__END_DECLS