From 8830fe7e9982f9b8d14c51c96c6e90399c9ee9da Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 3 Jun 1999 16:01:27 +0000 Subject: use __sparc__ just in case --- sys/compat/sunos/exec.h | 4 ++-- sys/compat/sunos/sunos.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/compat') 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 -- cgit v1.2.3