Source-Changes-HG archive

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

[src/trunk]: src/lib/librumpclient make it the same as rump.h



details:   https://anonhg.NetBSD.org/src/rev/fb782b67bfd0
branches:  trunk
changeset: 353552:fb782b67bfd0
user:      christos <christos%NetBSD.org@localhost>
date:      Thu May 11 18:44:50 2017 +0000

description:
make it the same as rump.h

diffstat:

 lib/librumpclient/rumpclient.h |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 6edcf31a4297 -r fb782b67bfd0 lib/librumpclient/rumpclient.h
--- a/lib/librumpclient/rumpclient.h    Thu May 11 18:16:00 2017 +0000
+++ b/lib/librumpclient/rumpclient.h    Thu May 11 18:44:50 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpclient.h,v 1.16 2017/05/11 17:47:22 christos Exp $ */
+/*     $NetBSD: rumpclient.h,v 1.17 2017/05/11 18:44:50 christos Exp $ */
 
 /*-
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -39,8 +39,11 @@
 #endif /* !__returns_twice */
 
 #if !defined(RUMP_REGISTER_T)
-#define RUMP_REGISTER_T long
+# define RUMP_REGISTER_T long
+# if !defined(_KERNEL) && !defined(_KMEMUSER) &&  \
+    !defined(_KERNTYPES) && !defined(_STANDALONE)
 typedef RUMP_REGISTER_T register_t;
+# endif
 #endif
 
 struct rumpclient_fork;



Home | Main Index | Thread Index | Old Index