projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mcs] Implements C# 7.2 readonly structs
[mono.git]
/
mono
/
utils
/
networking-missing.c
diff --git
a/mono/utils/networking-missing.c
b/mono/utils/networking-missing.c
index 32aeb9633886e6fed3fd9f09e10ab79386cbd4f0..45ccf518a7db1658ea9cae743458f0ce6be97961 100644
(file)
--- a/
mono/utils/networking-missing.c
+++ b/
mono/utils/networking-missing.c
@@
-16,7
+16,8
@@
#include <netdb.h>
#endif
-#ifndef HAVE_INET_PTON
+//wasm does have inet_pton even though autoconf fails to find
+#if !defined (HAVE_INET_PTON) && !defined (HOST_WASM)
int
inet_pton (int family, const char *address, void *inaddrp)