rnd-20001127-1-src
[rocksndiamonds.git] / src / netserv.c
index 10b0ab504d5615a66dc17e9221e7630f7bd60238..2e356e921897bffa756d434cf6e6425e5b3b8c38 100644 (file)
@@ -11,7 +11,9 @@
 *  network.c                                               *
 ***********************************************************/
 
-#if !defined(MSDOS) && !defined(WIN32)
+#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 && !WIN32 */
+#endif /* PLATFORM_UNIX */