We need to make ISSET/SET/CLR available for bootloaders too.

This commit is contained in:
martin 2018-07-10 07:40:42 +00:00
parent bdc738b8a8
commit a37a3a7658
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: types.h,v 1.100 2018/07/08 21:59:12 pgoyette Exp $ */
/* $NetBSD: types.h,v 1.101 2018/07/10 07:40:42 martin Exp $ */
/*-
* Copyright (c) 1982, 1986, 1991, 1993, 1994
@ -342,7 +342,7 @@ struct tty;
struct uio;
#endif
#ifdef _KERNEL
#if defined(_KERNEL) || defined(_STANDALONE)
#define SET(t, f) ((t) |= (f))
#define ISSET(t, f) ((t) & (f))
#define CLR(t, f) ((t) &= ~(f))