diff options
author | Tim Champagne <tchamp@users.sourceforge.net> | 2003-05-16 15:07:35 +0000 |
---|---|---|
committer | Tim Champagne <tchamp@users.sourceforge.net> | 2003-05-16 15:07:35 +0000 |
commit | 19b954f40ce05dbb781810206de6ca38fa47eb76 (patch) | |
tree | b6be89f7b8a9acc651a5f4edcb07ce7631bdcc99 /win32/include/sys/socket.h | |
parent | 02d7b2575a8672138dd4f088bd829f5ae7383310 (diff) | |
download | xine-lib-19b954f40ce05dbb781810206de6ca38fa47eb76.tar.gz xine-lib-19b954f40ce05dbb781810206de6ca38fa47eb76.tar.bz2 |
Fix win32 build and start adding additional plugin support
CVS patchset: 4867
CVS date: 2003/05/16 15:07:35
Diffstat (limited to 'win32/include/sys/socket.h')
-rwxr-xr-x | win32/include/sys/socket.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/win32/include/sys/socket.h b/win32/include/sys/socket.h new file mode 100755 index 000000000..65f04ef64 --- /dev/null +++ b/win32/include/sys/socket.h @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2000-2001 the xine project + * + * This file is part of xine, a unix video player. + * + * xine is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * xine is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * WIN32 PORT, + */ + +#include <fcntl.h> /* Not sure that this is needed */ + +#include <io.h> /* open, close, ... */ +#include <winsock.h> + +#define SIGPIPE 3 +#define SIGALRM 13 + +/* Some real good hacks! */ +#undef errno +#define errno WSAGetLastError + +#define EINPROGRESS WSAEINPROGRESS |