Commit 4c795ed1 authored by Ed "oddsock" Zaleski's avatar Ed "oddsock" Zaleski

win32 port updates to recent changes

svn path=/trunk/icecast/; revision=4117
parent e99a228b
......@@ -41,7 +41,9 @@
#define vsnprintf _vsnprintf
#define EINPROGRESS WSAEINPROGRESS
#define ENOTSOCK WSAENOTSOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EALREADY WSAEALREADY
#define socklen_t int
#endif
#include "sock.h"
......
......@@ -22,11 +22,14 @@
#ifndef __SOCK_H
#define __SOCK_H
#include <unistd.h>
#ifdef _WIN32
#include <winsock2.h>
#endif
#else
#include <unistd.h>
#endif
#include <os.h>
#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
......
......@@ -8,7 +8,9 @@
#endif
#ifdef _WIN32
#define PATH_SEPARATOR "\\"
#define PATH_SEPARATOR "\\"
#define size_t int
#define ssize_t int
#else
#define PATH_SEPARATOR "/"
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment