Module Name:    src
Committed By:   pooka
Date:           Sun Jan 20 15:23:21 UTC 2013

Modified Files:
        src/lib/librumpclient: rumpclient.h

Log Message:
Provide register_t compat on solarisa.
(would be nice to handle register_t compat internally instead, but the
interface was already exposed in a release)


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/librumpclient/rumpclient.h

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

Modified files:

Index: src/lib/librumpclient/rumpclient.h
diff -u src/lib/librumpclient/rumpclient.h:1.14 src/lib/librumpclient/rumpclient.h:1.15
--- src/lib/librumpclient/rumpclient.h:1.14	Thu Jan 17 22:16:59 2013
+++ src/lib/librumpclient/rumpclient.h	Sun Jan 20 15:23:21 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: rumpclient.h,v 1.14 2013/01/17 22:16:59 pooka Exp $	*/
+/*	$NetBSD: rumpclient.h,v 1.15 2013/01/20 15:23:21 pooka Exp $	*/
 
 /*-
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -38,6 +38,11 @@
 #endif /* !__GNUC__ */
 #endif /* !__returns_twice */
 
+#if defined(__sun__) && !defined(RUMP_REGISTER_T)
+#define RUMP_REGISTER_T long
+typedef RUMP_REGISTER_T register_t;
+#endif
+
 struct rumpclient_fork;
 
 #define rumpclient_vfork() rumpclient__dofork(vfork)

Reply via email to