[PATCH app/xhost 3/4] Provide dummy sethostent(), endhostent() for Win32 also

Jon TURNEY jon.turney at dronecode.org.uk
Fri Feb 15 08:08:39 PST 2013


Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 xhost.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xhost.c b/xhost.c
index 93f4575..aa1dbec 100644
--- a/xhost.c
+++ b/xhost.c
@@ -899,7 +899,7 @@ local_xerror(Display *dpy, XErrorEvent *rep)
     return 0;
 }
 
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(WIN32)
 void sethostent(int x)
 {}
 
-- 
1.7.9



More information about the xorg-devel mailing list