4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-03-02 04:55:35 +08:00

Cygwin: bindresvport: Guard prototypes with __MISC_VISIBLE

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2018-02-05 21:06:29 +01:00
parent e9ff2d6978
commit b08e6690a6

View File

@ -16,8 +16,10 @@ extern "C"
{ {
#endif #endif
#if __MISC_VISIBLE
extern int bindresvport (int, struct sockaddr_in *); extern int bindresvport (int, struct sockaddr_in *);
extern int bindresvport_sa (int, struct sockaddr *); extern int bindresvport_sa (int, struct sockaddr *);
#endif
#ifdef __cplusplus #ifdef __cplusplus
}; };