netserver/hedgewars-server.hs
changeset 1398 29eedf717d0f
parent 1397 471c42a1c358
child 1403 b8c921ed0f13
--- a/netserver/hedgewars-server.hs	Wed Oct 22 15:40:49 2008 +0000
+++ b/netserver/hedgewars-server.hs	Wed Oct 22 15:45:16 2008 +0000
@@ -13,7 +13,7 @@
 import HWProto
 import Opts
 
-#ifndef WIN32
+#if !defined(mingw32_HOST_OS)
 import System.Posix
 #endif
 
@@ -101,7 +101,7 @@
 
 
 main = withSocketsDo $ do
-#ifndef WIN32
+#if !defined(mingw32_HOST_OS)
 	installHandler sigPIPE Ignore Nothing;
 #endif
 	putStrLn $ "Listening on port " ++ show (listenPort globalOptions)