summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{}