[newlib-cygwin] Cygwin: bindresvport: Guard prototypes with __MISC_VISIBLE
Corinna Vinschen
corinna@sourceware.org
Mon Feb 5 20:07:00 GMT 2018
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b08e6690a676b9b58abbb676c9e9233f6f2f5c54
commit b08e6690a676b9b58abbb676c9e9233f6f2f5c54
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Mon Feb 5 21:06:29 2018 +0100
Cygwin: bindresvport: Guard prototypes with __MISC_VISIBLE
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/include/netinet/in.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/winsup/cygwin/include/netinet/in.h b/winsup/cygwin/include/netinet/in.h
index da0265b..862e456 100644
--- a/winsup/cygwin/include/netinet/in.h
+++ b/winsup/cygwin/include/netinet/in.h
@@ -16,8 +16,10 @@ extern "C"
{
#endif
+#if __MISC_VISIBLE
extern int bindresvport (int, struct sockaddr_in *);
extern int bindresvport_sa (int, struct sockaddr *);
+#endif
#ifdef __cplusplus
};
More information about the Cygwin-cvs
mailing list