/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#ifndef _WIN32
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
-#endif
#include "misc.h"
#include "proto.h"
-#ifdef _WIN32
-#define read(sock, buffer, buf_size) \
- w32_recv((sock), (buffer), (buf_size), 0)
-#define write(sock, buffer, buf_size) \
- w32_send((sock), (buffer), (buf_size), 0)
-#endif
-
int
recvline(int s, char *buf)
{