Use the same exposure rules for register_t as <machine/types.h> does.
Eventually we could remove -D_KERNTYPES from all the rump libraries...
This commit is contained in:
parent
60b22e867e
commit
8f1d39df7e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rump.h,v 1.68 2016/01/31 23:14:34 pooka Exp $ */
|
||||
/* $NetBSD: rump.h,v 1.69 2017/05/11 18:08:10 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
|
||||
|
@ -46,7 +46,8 @@ struct lwp;
|
|||
struct modinfo;
|
||||
struct uio;
|
||||
|
||||
#if (!defined(_KERNEL)) && (defined(__sun__) || defined(__ANDROID__)) && !defined(RUMP_REGISTER_T)
|
||||
#if !defined(RUMP_REGISTER_T) && !defined(_KERNEL) && \
|
||||
!defined(_KMEMUSER) && !defined(_KERNTYPES) && !defined(_STANDALONE)
|
||||
#define RUMP_REGISTER_T long
|
||||
typedef RUMP_REGISTER_T register_t;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue