mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-11-03 04:17:20 -05:00
win32 port updates to recent changes
svn path=/trunk/net/; revision=4117
This commit is contained in:
parent
614bf95a68
commit
dd6dba9d4e
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user