Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
e86ceeef
Commit
e86ceeef
authored
Feb 15, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ALL: WinCE build fixes.
parent
47b183e3
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
22 additions
and
19 deletions
+22
-19
include/main.h
include/main.h
+0
-5
include/vlc_threads.h
include/vlc_threads.h
+2
-2
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+3
-1
modules/codec/cmml/browser_open.c
modules/codec/cmml/browser_open.c
+6
-4
modules/video_output/wingdi.c
modules/video_output/wingdi.c
+2
-4
src/input/subtitles.c
src/input/subtitles.c
+2
-0
src/misc/configuration.c
src/misc/configuration.c
+4
-0
src/misc/modules.c
src/misc/modules.c
+1
-1
src/misc/win32_specific.c
src/misc/win32_specific.c
+2
-2
No files found.
include/main.h
View file @
e86ceeef
...
...
@@ -90,13 +90,8 @@ struct vlc_t
/* Fast memcpy plugin used */
module_t
*
p_memcpy_module
;
#if defined( UNDER_CE )
void
*
(
__cdecl
*
pf_memcpy
)
(
void
*
,
const
void
*
,
size_t
);
void
*
(
__cdecl
*
pf_memset
)
(
void
*
,
int
,
size_t
);
#else
void
*
(
*
pf_memcpy
)
(
void
*
,
const
void
*
,
size_t
);
void
*
(
*
pf_memset
)
(
void
*
,
int
,
size_t
);
#endif
/* Shared data - these structures are accessed directly from p_vlc by
* several modules */
...
...
include/vlc_threads.h
View file @
e86ceeef
...
...
@@ -3,7 +3,7 @@
* This header provides portable declarations for mutexes & conditions
*****************************************************************************
* Copyright (C) 1999, 2002 VideoLAN
* $Id
: vlc_threads.h,v 1.37 2004/03/01 12:50:39 gbazin Exp
$
* $Id$
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
...
...
@@ -146,7 +146,7 @@ typedef struct
#elif defined( WIN32 ) || defined( UNDER_CE )
typedef
HANDLE
vlc_thread_t
;
typedef
BOOL
(
WINAPI
*
SIGNALOBJECTANDWAIT
)
(
HANDLE
,
HANDLE
,
DWORD
,
BOOL
);
typedef
unsigned
(
__stdcall
*
PTHREAD_START
)
(
void
*
);
typedef
unsigned
(
WINAPI
*
PTHREAD_START
)
(
void
*
);
typedef
struct
{
...
...
modules/access/mms/mmstu.c
View file @
e86ceeef
...
...
@@ -47,7 +47,9 @@
# include <sys/stat.h>
#endif
#ifdef WIN32
#if defined( UNDER_CE )
# include <winsock.h>
#elif WIN32
# include <winsock2.h>
# include <ws2tcpip.h>
# ifndef IN_MULTICAST
...
...
modules/codec/cmml/browser_open.c
View file @
e86ceeef
...
...
@@ -38,6 +38,10 @@ int browser_Open( const char *psz_url )
psz_open_commandline
=
xstrcat
(
psz_open_commandline
,
psz_url
);
return
system
(
psz_open_commandline
);
#elif defined( UNDER_CE )
return
-
1
;
#elif defined( WIN32 )
char
*
psz_open_commandline
;
...
...
@@ -45,6 +49,7 @@ int browser_Open( const char *psz_url )
xstrcat
(
psz_open_commandline
,
psz_url
);
return
system
(
psz_open_commandline
);
#else
/* Assume we're on a UNIX of some sort */
char
*
psz_open_commandline
;
...
...
@@ -55,10 +60,7 @@ int browser_Open( const char *psz_url )
xstrcat
(
psz_open_commandline
,
psz_url
);
i_ret
=
system
(
psz_open_commandline
);
if
(
i_ret
==
0
)
{
return
0
;
}
if
(
i_ret
==
0
)
return
0
;
free
(
psz_open_commandline
);
...
...
modules/video_output/wingdi.c
View file @
e86ceeef
...
...
@@ -31,16 +31,14 @@
#include <vlc/vlc.h>
#include <vlc/vout.h>
#include <windows.h>
#define WIN32_LEAN_AND_MEAN
#include <commctrl.h>
#ifdef UNDER_CE
#
include <aygshell.h>
#
define SHFS_HIDESIPBUTTON 0x0008
# define MENU_HEIGHT 26
#else
# define SHFS_HIDESIPBUTTON 0
# define MENU_HEIGHT 0
# define NM_CUSTOMDRAW 0
#endif
#undef MODULE_NAME_IS_gapi
...
...
src/input/subtitles.c
View file @
e86ceeef
...
...
@@ -299,6 +299,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
for
(
j
=
-
1
;
j
==
-
1
||
(
j
>=
0
&&
subdirs
!=
NULL
&&
*
subdirs
!=
NULL
);
j
++
)
{
#ifdef HAVE_DIRENT_H
d
=
opendir
(
j
<
0
?
f_dir
:
*
subdirs
);
if
(
d
)
{
...
...
@@ -377,6 +378,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
}
closedir
(
d
);
}
#endif
if
(
j
>=
0
)
free
(
*
subdirs
++
);
}
...
...
src/misc/configuration.c
View file @
e86ceeef
...
...
@@ -1616,6 +1616,10 @@ char *config_GetHomeDir( void )
#elif defined(UNDER_CE)
#ifndef CSIDL_APPDATA
# define CSIDL_APPDATA 0x1A
#endif
wchar_t
p_whomedir
[
MAX_PATH
];
/* get the "Application Data" folder for the current user */
...
...
src/misc/modules.c
View file @
e86ceeef
...
...
@@ -115,7 +115,7 @@
# include "modules_plugin.h"
#endif
#if defined( UNDER_CE )
#if defined(
_MSC_VER ) && defined(
UNDER_CE )
# include "modules_builtin_evc.h"
#elif defined( _MSC_VER )
# include "modules_builtin_msvc.h"
...
...
src/misc/win32_specific.c
View file @
e86ceeef
...
...
@@ -37,7 +37,7 @@
# include <fcntl.h>
#endif
#include <winsock
2
.h>
#include <winsock.h>
/*****************************************************************************
* system_Init: initialize winsock and misc other things.
...
...
@@ -77,8 +77,8 @@ void system_Init( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] )
/* Set the default file-translation mode */
#if !defined( UNDER_CE )
_fmode
=
_O_BINARY
;
#endif
_setmode
(
_fileno
(
stdin
),
_O_BINARY
);
/* Needed for pipes */
#endif
/* Call mdate() once to make sure it is initialized properly */
mdate
();
...
...
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