]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/gsocket.cpp
Applied patch [ 1427626 ] Fix wxFileConfig so that it still works after DeleteAll()
[wxWidgets.git] / src / unix / gsocket.cpp
index 1ea7b594e54ccf215eb632a5599c6e00c44cc67a..63bed5a32f89d0dc6dc97ab9443896c8d881b40c 100644 (file)
@@ -299,7 +299,7 @@ struct hostent * wxGethostbyaddr_r(const char *addr_buf, int buf_size,
   return he;
 }
 
-#if defined(HAVE_GETHOSTBYNAME)
+#if defined(HAVE_GETSERVBYNAME)
 static struct servent * deepCopyServent(struct servent *s,
                                        const struct servent *se,
                                        char *buffer, int size)