define closesocket for posix systems

This commit is contained in:
Erik Faye-Lund 2010-01-09 20:56:12 +01:00
parent 14244a2d0d
commit 466c845593

View File

@ -20,6 +20,7 @@
#include <netdb.h>
#define SOCKET int
#define INVALID_SOCKET -1
#define closesocket(x) close(x)
#endif
static const char *client_greet = "hello, synctracker!";