From 6ddfbcf5be91ed7546c81c3d9b4bd52d37a1d264 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Sun, 1 Mar 1998 17:18:02 +0000 Subject: Use __alpha__ and __mips__ instead of alpha & arc --- sys/miscfs/nullfs/null.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/miscfs/nullfs/null.h b/sys/miscfs/nullfs/null.h index bee798d2c03..ae1ac9ed50a 100644 --- a/sys/miscfs/nullfs/null.h +++ b/sys/miscfs/nullfs/null.h @@ -1,4 +1,4 @@ -/* $OpenBSD: null.h,v 1.8 1998/03/01 17:01:24 niklas Exp $ */ +/* $OpenBSD: null.h,v 1.9 1998/03/01 17:18:01 niklas Exp $ */ /* $NetBSD: null.h,v 1.7 1996/05/17 20:53:11 gwr Exp $ */ /* @@ -69,7 +69,7 @@ struct null_node { #define RETURN_PC(frameno) (void *)0 #else /* Some architectures can just get the current frame's return address */ -#if defined(alpha) || defined(arc) +#if defined(__alpha__) || defined(__mips__) #define RETURN_PC(frameno) (frameno ? 0 : __builtin_return_address(frameno)) #else #define RETURN_PC(frameno) __builtin_return_address(frameno) -- cgit v1.2.3