Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
9ddd88e8
Commit
9ddd88e8
authored
May 03, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only compile the winsock stubs file on Win32
parent
b2b9fb4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
11 deletions
+3
-11
src/Makefile.am
src/Makefile.am
+1
-1
src/network/winsock.c
src/network/winsock.c
+2
-10
No files found.
src/Makefile.am
View file @
9ddd88e8
...
@@ -236,6 +236,7 @@ SOURCES_libvlc_darwin = \
...
@@ -236,6 +236,7 @@ SOURCES_libvlc_darwin = \
SOURCES_libvlc_win32
=
\
SOURCES_libvlc_win32
=
\
misc/win32_specific.c
\
misc/win32_specific.c
\
network/winsock.c
\
$(NULL)
$(NULL)
SOURCES_libvlc_dirent
=
\
SOURCES_libvlc_dirent
=
\
...
@@ -304,7 +305,6 @@ SOURCES_libvlc_common = \
...
@@ -304,7 +305,6 @@ SOURCES_libvlc_common = \
network/acl.c
\
network/acl.c
\
network/getaddrinfo.c
\
network/getaddrinfo.c
\
network/io.c
\
network/io.c
\
network/error.c
\
network/tcp.c
\
network/tcp.c
\
network/udp.c
\
network/udp.c
\
network/httpd.c
\
network/httpd.c
\
...
...
src/network/
error
.c
→
src/network/
winsock
.c
View file @
9ddd88e8
/*****************************************************************************
/*****************************************************************************
*
error.c: Network error handling
*
winsock.c: POSIX replacements for Winsock
*****************************************************************************
*****************************************************************************
* Copyright (C) 2006 Rémi Denis-Courmont
* Copyright © 2006-2008 Rémi Denis-Courmont
* $Id$
*
* Author : Rémi Denis-Courmont <rem # videolan.org>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General Public License as published by
...
@@ -21,9 +18,6 @@
...
@@ -21,9 +18,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
*****************************************************************************/
/*****************************************************************************
* Preamble
*****************************************************************************/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
# include "config.h"
# include "config.h"
#endif
#endif
...
@@ -32,7 +26,6 @@
...
@@ -32,7 +26,6 @@
#include <errno.h>
#include <errno.h>
#include <vlc_network.h>
#include <vlc_network.h>
#if defined (WIN32) || defined (UNDER_CE)
typedef
struct
typedef
struct
{
{
int
code
;
int
code
;
...
@@ -154,4 +147,3 @@ const char *net_strerror( int value )
...
@@ -154,4 +147,3 @@ const char *net_strerror( int value )
/* Remember to update src/misc/messages.c if you change this one */
/* Remember to update src/misc/messages.c if you change this one */
return
"Unknown network stack error"
;
return
"Unknown network stack error"
;
}
}
#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