Skip to content

Commit e90529d

Browse files
committed
Fix declaration for HAIKU/BeOS
1 parent 077894f commit e90529d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/inet_ntop.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@
6464
*/
6565
const char *
6666
WSAAPI
67+
#if (defined(__BEOS__) || defined(__HAIKU__))
68+
inet_ntop(int af, const void *src, char *dst, socklen_t size)
69+
#else
6770
inet_ntop(int af, const void *src, char *dst, size_t size)
71+
#endif
6872
{
6973
switch (af) {
7074
case AF_INET:

0 commit comments

Comments
 (0)