public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Define u_register_t if __BSD_VISIBLE
@ 2019-02-19 8:07 Sebastian Huber
0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2019-02-19 8:07 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1d35a003fd0574dabdfda783f4b5a33ae512b058
commit 1d35a003fd0574dabdfda783f4b5a33ae512b058
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date: Mon Feb 18 09:41:13 2019 +0100
Define u_register_t if __BSD_VISIBLE
Add u_register_t definition for FreeBSD compatibility.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diff:
---
newlib/libc/include/sys/types.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index 85f8ddb..19e3de6 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -62,6 +62,8 @@ typedef __uint32_t in_addr_t; /* base type for internet address */
typedef __uint16_t in_port_t;
#define _IN_PORT_T_DECLARED
#endif
+
+typedef __uintptr_t u_register_t;
#endif /* __BSD_VISIBLE */
#if __MISC_VISIBLE
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-02-19 8:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-19 8:07 [newlib-cygwin] Define u_register_t if __BSD_VISIBLE Sebastian Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).