Make roken build on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
c4b95f7330
commit
d00f9984a5
@@ -37,7 +37,7 @@
|
||||
|
||||
/* getaddrinfo via string specifying host and port */
|
||||
|
||||
int ROKEN_LIB_FUNCTION
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
roken_getaddrinfo_hostspec2(const char *hostspec,
|
||||
int socktype,
|
||||
int port,
|
||||
@@ -92,7 +92,7 @@ roken_getaddrinfo_hostspec2(const char *hostspec,
|
||||
return getaddrinfo (host, portstr, &hints, ai);
|
||||
}
|
||||
|
||||
int ROKEN_LIB_FUNCTION
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
roken_getaddrinfo_hostspec(const char *hostspec,
|
||||
int port,
|
||||
struct addrinfo **ai)
|
||||
|
Reference in New Issue
Block a user