Source-Changes-HG archive

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

[src/trunk]: src/lib/librumpuser Evil hack to fix the build: provide PRIxREGI...



details:   https://anonhg.NetBSD.org/src/rev/5fb43f9b4dbd
branches:  trunk
changeset: 823844:5fb43f9b4dbd
user:      martin <martin%NetBSD.org@localhost>
date:      Thu May 11 10:21:55 2017 +0000

description:
Evil hack to fix the build: provide PRIxREGISTER here.
Sevan, please check and fix correctly ;-)

diffstat:

 lib/librumpuser/rumpuser_port.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 8a9ba5a74464 -r 5fb43f9b4dbd lib/librumpuser/rumpuser_port.h
--- a/lib/librumpuser/rumpuser_port.h   Thu May 11 09:09:54 2017 +0000
+++ b/lib/librumpuser/rumpuser_port.h   Thu May 11 10:21:55 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpuser_port.h,v 1.49 2017/05/11 04:27:27 sevan Exp $ */
+/*     $NetBSD: rumpuser_port.h,v 1.50 2017/05/11 10:21:55 martin Exp $        */
 
 #ifndef _LIB_LIBRUMPUSER_RUMPUSER_PORT_H_
 #define _LIB_LIBRUMPUSER_RUMPUSER_PORT_H_
@@ -300,6 +300,7 @@
 #if !defined(HAVE_REGISTER_T) && !defined(RUMP_REGISTER_T)
 #define RUMP_REGISTER_T long
 typedef RUMP_REGISTER_T register_t;
+#define        PRIxREGISTER    "lx"
 #endif
 
 #include <sys/time.h>



Home | Main Index | Thread Index | Old Index