... but define RUMP_REGISTER_T if not defined.

This commit is contained in:
christos 2017-05-11 18:16:00 +00:00
parent 8f1d39df7e
commit 5646f065d1
1 changed files with 6 additions and 4 deletions

View File

@ -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 lwp;
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>