Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
bfbe106f
Commit
bfbe106f
authored
Sep 22, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ALL: WinCE EVC compilation fixes.
parent
f3071f22
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
34 additions
and
59 deletions
+34
-59
evc/config.h.in
evc/config.h.in
+12
-0
include/network.h
include/network.h
+6
-0
include/vlc_common.h
include/vlc_common.h
+1
-1
src/control/audio_video.c
src/control/audio_video.c
+3
-2
src/control/core.c
src/control/core.c
+3
-2
src/control/util.c
src/control/util.c
+3
-2
src/misc/getaddrinfo.c
src/misc/getaddrinfo.c
+6
-19
src/misc/net.c
src/misc/net.c
+0
-19
src/stream_output/acl.c
src/stream_output/acl.c
+0
-2
src/stream_output/sap.c
src/stream_output/sap.c
+0
-12
No files found.
evc/config.h.in
View file @
bfbe106f
...
...
@@ -93,6 +93,18 @@
/* Simple version string */
#define VERSION_MESSAGE "@VERSION@ @CODENAME@"
/* compiler */
#define VLC_COMPILER "Microsoft eMbedded Visual C++"
/* user who ran configure */
#define VLC_COMPILE_BY "user"
/* domain of the host which ran configure */
#define VLC_COMPILE_DOMAIN "videolan.org"
/* host which ran configure */
#define VLC_COMPILE_HOST "machine"
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#define inline __inline
...
...
include/network.h
View file @
bfbe106f
...
...
@@ -30,8 +30,14 @@
# if defined(UNDER_CE) && defined(sockaddr_storage)
# undef sockaddr_storage
# endif
# if defined(UNDER_CE)
# define HAVE_STRUCT_ADDRINFO
# else
# include <io.h>
# endif
# include <winsock2.h>
# include <ws2tcpip.h>
# define ENETUNREACH WSAENETUNREACH
#else
# if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
...
...
include/vlc_common.h
View file @
bfbe106f
...
...
@@ -546,7 +546,7 @@ static int64_t GCD( int64_t a, int64_t b )
}
/* Dynamic array handling: realloc array, move data, increment position */
#if defined( _MSC_VER ) && _MSC_VER < 1300
#if defined( _MSC_VER ) && _MSC_VER < 1300
&& !defined( UNDER_CE )
# define VLCCVP (void**)
/* Work-around for broken compiler */
#else
# define VLCCVP
...
...
src/control/audio_video.c
View file @
bfbe106f
...
...
@@ -46,11 +46,12 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#define RAISE( c, m ) exception->code = c; \
exception->message = strdup(m);
...
...
src/control/core.c
View file @
bfbe106f
...
...
@@ -46,11 +46,12 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#define RAISE( c, m ) exception->code = c; \
exception->message = strdup(m);
...
...
src/control/util.c
View file @
bfbe106f
...
...
@@ -46,11 +46,12 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#define RAISE( c, m ) exception->code = c; \
exception->message = strdup(m);
...
...
src/misc/getaddrinfo.c
View file @
bfbe106f
...
...
@@ -27,30 +27,17 @@
#include <stddef.h>
/* size_t */
#include <string.h>
/* strncpy(), strlen(), memcpy(), memset(), strchr() */
#include <stdlib.h>
/* malloc(), free(), strtoul() */
#include <sys/types.h>
#include <errno.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#
include <arpa/inet.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <errno.h>
#if defined( WIN32 ) || defined( UNDER_CE )
# if defined(UNDER_CE) && defined(sockaddr_storage)
# undef sockaddr_storage
# endif
# include <winsock2.h>
# include <ws2tcpip.h>
#else
# include <sys/socket.h>
# include <netinet/in.h>
# ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
# endif
# include <netdb.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
src/misc/net.c
View file @
bfbe106f
...
...
@@ -33,28 +33,9 @@
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#if defined( WIN32 ) || defined( UNDER_CE )
# if defined(UNDER_CE) && defined(sockaddr_storage)
# undef sockaddr_storage
# endif
# include <io.h>
# include <winsock2.h>
# include <ws2tcpip.h>
# define ENETUNREACH WSAENETUNREACH
#else
# include <sys/socket.h>
# include <netinet/in.h>
# ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
# endif
# include <netdb.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
src/stream_output/acl.c
View file @
bfbe106f
...
...
@@ -31,9 +31,7 @@
#include "vlc_acl.h"
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
#include "network.h"
...
...
src/stream_output/sap.c
View file @
bfbe106f
...
...
@@ -34,18 +34,6 @@
#include <vlc/sout.h>
#include "network.h"
#if defined( WIN32 ) || defined( UNDER_CE )
# if defined(UNDER_CE) && defined(sockaddr_storage)
# undef sockaddr_storage
# endif
# include <winsock2.h>
# include <ws2tcpip.h>
#else
# include <netdb.h>
# ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
# endif
#endif
#include "charset.h"
/* SAP is always on that port */
...
...
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