summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-10-26 14:46:51 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2013-02-24 14:23:16 +0000
commit618eebf5aa99138f6ab3b8a96f93eb422f1a138e (patch)
treeca0efc5a188bff0104544703ca342fc228358fa4
parent4dc834b5d98a6b07bee7ec8d06ed63efe03d1076 (diff)
Provide dummy sethostent(),endhostent() for Win32 also
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
-rw-r--r--xhost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xhost.c b/xhost.c
index 7e6f88f..24eec97 100644
--- a/xhost.c
+++ b/xhost.c
@@ -864,7 +864,7 @@ local_xerror(Display *dpy, XErrorEvent *rep)
return 0;
}
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(WIN32)
void sethostent(int x)
{}