Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
4c795ed1
Commit
4c795ed1
authored
Nov 23, 2002
by
Ed "oddsock" Zaleski
Browse files
win32 port updates to recent changes
svn path=/trunk/icecast/; revision=4117
parent
e99a228b
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/net/sock.c
View file @
4c795ed1
...
...
@@ -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"
...
...
src/net/sock.h
View file @
4c795ed1
...
...
@@ -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>
...
...
src/os.h
View file @
4c795ed1
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment