[utils] Fix inet_pton fallback.
authorRodrigo Kumpera <kumpera@gmail.com>
Tue, 5 Sep 2017 21:28:37 +0000 (14:28 -0700)
committerRodrigo Kumpera <kumpera@gmail.com>
Tue, 5 Sep 2017 21:28:37 +0000 (14:28 -0700)
mono/utils/networking-missing.c

index 5c99dbb9e341065bfba3d36b7b4bef186a201423..45ccf518a7db1658ea9cae743458f0ce6be97961 100644 (file)
@@ -17,7 +17,7 @@
 #endif
 
 //wasm does have inet_pton even though autoconf fails to find
-#if defined (HAVE_INET_PTON) && !defined (HOST_WASM)
+#if !defined (HAVE_INET_PTON) && !defined (HOST_WASM)
 
 int
 inet_pton (int family, const char *address, void *inaddrp)