summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>1999-07-02 17:53:51 +0000
committerBrad Smith <brad@cvs.openbsd.org>1999-07-02 17:53:51 +0000
commit1c493c0b5f47f128ef725a4d6b0a6990e15d093a (patch)
tree28c0370353167cf46de4929659e167b441afbf5f
parent8a2e4c5d130aa673eccf17f0644be4b5a51b0306 (diff)
sparc -> __sparc__
-rw-r--r--sys/compat/sunos/sunos_exec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/compat/sunos/sunos_exec.c b/sys/compat/sunos/sunos_exec.c
index c94ec4b5f5e..5c94adde5f5 100644
--- a/sys/compat/sunos/sunos_exec.c
+++ b/sys/compat/sunos/sunos_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sunos_exec.c,v 1.8 1999/01/11 05:12:14 millert Exp $ */
+/* $OpenBSD: sunos_exec.c,v 1.9 1999/07/02 17:53:50 brad Exp $ */
/* $NetBSD: sunos_exec.c,v 1.11 1996/05/05 12:01:47 briggs Exp $ */
/*
@@ -58,7 +58,7 @@
#include <compat/sunos/sunos.h>
#include <compat/sunos/sunos_syscall.h>
-#ifdef sparc
+#ifdef __sparc__
#define sunos_exec_aout_prep_zmagic exec_aout_prep_zmagic
#define sunos_exec_aout_prep_nmagic exec_aout_prep_nmagic
#define sunos_exec_aout_prep_omagic exec_aout_prep_omagic
@@ -80,7 +80,7 @@ const char sunos_emul_path[] = "/emul/sunos";
struct emul emul_sunos = {
"sunos",
NULL,
-#ifdef sparc
+#ifdef __sparc__
sendsig,
#else
sunos_sendsig,
@@ -131,7 +131,7 @@ sunos_exec_aout_makecmds(p, epp)
/*
* the code below is only needed for sun3 emulation.
*/
-#ifndef sparc
+#ifndef __sparc__
/* suns keep data seg aligned to SEGSIZ because of sun custom mmu */
#define SEGSIZ 0x20000
@@ -267,4 +267,4 @@ sunos_exec_aout_prep_omagic(p, epp)
return exec_setup_stack(p, epp);
}
-#endif /* !sparc */
+#endif /* !__sparc__ */