projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
[mono.git]
/
mono
/
metadata
/
socket-io.c
diff --git
a/mono/metadata/socket-io.c
b/mono/metadata/socket-io.c
index bc0b4e95f1084896d262e3b4f0c7964f25a99577..070880498815c68a33ea9fa8f25680659856c4d8 100644
(file)
--- a/
mono/metadata/socket-io.c
+++ b/
mono/metadata/socket-io.c
@@
-2861,9
+2861,13
@@
MonoBoolean ves_icall_System_Net_Dns_GetHostByName_internal(MonoString *host, Mo
}
#endif
+#ifndef HOST_WIN32
he = NULL;
if (*hostname)
he = _wapi_gethostbyname (hostname);
+#else
+ he = _wapi_gethostbyname (hostname);
+#endif
g_free(hostname);
if (*hostname && he==NULL)