rnd-20001127-1-src
[rocksndiamonds.git] / src / netserv.c
index ac142763b2eff1b465674018c7f85ee3fbca4759..2e356e921897bffa756d434cf6e6425e5b3b8c38 100644 (file)
@@ -11,7 +11,9 @@
 *  network.c                                               *
 ***********************************************************/
 
-#ifndef MSDOS
+#include "platform.h"
+
+#if defined(PLATFORM_UNIX)
 
 #include <fcntl.h>
 #include <sys/time.h>
@@ -661,4 +663,4 @@ void NetworkServer(int port, int serveronly)
   }
 }
 
-#endif /* !MSDOS */
+#endif /* PLATFORM_UNIX */