Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/include/rump ... but define RUMP_REGISTER_T if not ...



details:   https://anonhg.NetBSD.org/src/rev/6edcf31a4297
branches:  trunk
changeset: 353551:6edcf31a4297
user:      christos <christos%NetBSD.org@localhost>
date:      Thu May 11 18:16:00 2017 +0000

description:
... but define RUMP_REGISTER_T if not defined.

diffstat:

 sys/rump/include/rump/rump.h |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r a99329f8eec5 -r 6edcf31a4297 sys/rump/include/rump/rump.h
--- a/sys/rump/include/rump/rump.h      Thu May 11 18:08:10 2017 +0000
+++ b/sys/rump/include/rump/rump.h      Thu May 11 18:16:00 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.h,v 1.69 2017/05/11 18:08:10 christos Exp $       */
+/*     $NetBSD: rump.h,v 1.70 2017/05/11 18:16:00 christos Exp $       */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -46,10 +46,12 @@
 struct modinfo;
 struct uio;
 
-#if !defined(RUMP_REGISTER_T) && !defined(_KERNEL) && \
-    !defined(_KMEMUSER) && !defined(_KERNTYPES) && !defined(_STANDALONE)
-#define RUMP_REGISTER_T long
+#if !defined(RUMP_REGISTER_T)
+# define RUMP_REGISTER_T long
+# if !defined(_KERNEL) && !defined(_KMEMUSER) &&  \
+    !defined(_KERNTYPES) && !defined(_STANDALONE)
 typedef RUMP_REGISTER_T register_t;
+# endif
 #endif
 
 #include <rump/rumpdefs.h>



Home | Main Index | Thread Index | Old Index