Module Name:    src
Committed By:   martin
Date:           Tue Jul 10 07:40:42 UTC 2018

Modified Files:
        src/sys/sys: types.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/sys/types.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/types.h
diff -u src/sys/sys/types.h:1.100 src/sys/sys/types.h:1.101
--- src/sys/sys/types.h:1.100	Sun Jul  8 21:59:12 2018
+++ src/sys/sys/types.h	Tue Jul 10 07:40:42 2018
@@ -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))

Reply via email to