From e915841849d6ccb7feeb794b0a3ec7ea2e4be87c Mon Sep 17 00:00:00 2001 From: gene Date: Tue, 22 Apr 1997 23:50:06 +0000 Subject: Damn. Change _all_ instances of #ifdef __NetBSD__ to #if defined(__NetBSD__) || defined(__OpenBSD__). This compiles again. --- sys/arch/mac68k/dev/adb_direct.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch/mac68k/dev/adb_direct.c') diff --git a/sys/arch/mac68k/dev/adb_direct.c b/sys/arch/mac68k/dev/adb_direct.c index e7cac16159a..784b105457a 100644 --- a/sys/arch/mac68k/dev/adb_direct.c +++ b/sys/arch/mac68k/dev/adb_direct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adb_direct.c,v 1.7 1997/04/22 20:11:34 gene Exp $ */ +/* $OpenBSD: adb_direct.c,v 1.8 1997/04/22 23:50:05 gene Exp $ */ /* $NetBSD: adb_direct.c,v 1.5 1997/04/21 18:04:28 scottr Exp $ */ /* From: adb_direct.c 2.02 4/18/97 jpw */ @@ -1334,7 +1334,7 @@ void adb_comp_exec(void) { if ((long) 0 != adbCompRout) /* don't call if empty return location */ -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__OpenBSD__) asm(" movml #0xffff, sp@- | save all registers movl %0, a2 | adbCompData @@ -1428,7 +1428,7 @@ adb_handle_unsol(u_char * in) * adb_comp_exec (above). Some day we may want to generalize it and * make it a single function. */ if ((long) 0 != (long) block.dbServiceRtPtr) { -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__OpenBSD__) asm(" movml #0xffff, sp@- | save all registers movl %0, a2 | block.dbDataAreaAddr @@ -1987,7 +1987,7 @@ adb_op_sync(Ptr buffer, Ptr compRout, Ptr data, short command) void adb_op_comprout(void) { -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__OpenBSD__) asm("movw #1,a2@ | update flag value"); #else /* for macos based testing */ asm { -- cgit v1.2.3