Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
5d02f37f
Commit
5d02f37f
authored
Nov 09, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* A few additional MSVC build fixes.
parent
9a0cbfce
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
16 deletions
+22
-16
Makefile.am
Makefile.am
+5
-4
configure.ac.in
configure.ac.in
+2
-2
src/extras/dirent.c
src/extras/dirent.c
+3
-3
src/libvlc.c
src/libvlc.c
+2
-2
src/misc/configuration.c
src/misc/configuration.c
+2
-2
src/misc/modules.c
src/misc/modules.c
+8
-3
No files found.
Makefile.am
View file @
5d02f37f
...
...
@@ -284,8 +284,9 @@ EXTRA_DIST += \
# rule to rebuild vlc.dsp - not for the faint of heart
#
update-vlc.dsp
:
FORCE
rm
-f
msvc/vlc.dsp
# Top of the project file
cat
msvc/vlc.dsp.in
>
|
msvc/vlc.dsp
cat
msvc/vlc.dsp.in
>
msvc/vlc.dsp
# The source files
echo
'# Begin Group "Source Files" '
>>
msvc/vlc.dsp
echo
'# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" '
>>
msvc/vlc.dsp
...
...
@@ -297,15 +298,15 @@ update-vlc.dsp: FORCE
done
;
\
echo
'# End Group '
>>
msvc/vlc.dsp
echo
'# Begin Group "libvlc" '
>>
msvc/vlc.dsp
for
file
in
`for
i
in
$(SOURCES_libvlc)
$(OPT_SOURCES_libvlc_win32)
$(OPT_SOURCES_libvlc_dirent
t
)
$(OPT_SOURCES_libvlc_getopt)
;
do
echo
$$i
;
done
|
grep
-v
"/.*/"
`
;
do
\
for
file
in
`for
i
in
$(SOURCES_libvlc)
$(OPT_SOURCES_libvlc_win32)
$(OPT_SOURCES_libvlc_dirent)
$(OPT_SOURCES_libvlc_getopt)
;
do
echo
$$i
;
done
|
grep
-v
"/.*/"
`
;
do
\
echo
'# Begin Source File '
>>
msvc/vlc.dsp
;
\
echo
$$file
|
sed
-e
's%/%\\%g'
-e
's%.*%SOURCE="..\\&" %'
>>
msvc/vlc.dsp
;
\
echo
'# ADD CPP /D "__VLC__" /D PLUGIN_PATH=\"plugins\" /D DATA_PATH=\"share\" '
>>
msvc/vlc.dsp
;
\
echo
'# End Source File '
>>
msvc/vlc.dsp
;
\
done
;
\
for
subdir
in
`for
i
in
$(SOURCES_libvlc)
$(OPT_SOURCES_libvlc_win32)
$(OPT_SOURCES_libvlc_dirent
t
)
$(OPT_SOURCES_libvlc_getopt)
;
do
echo
$$i
;
done
|
grep
"/.*/"
|
cut
-f2
-d/
|
sort
|
uniq`
;
do
\
for
subdir
in
`for
i
in
$(SOURCES_libvlc)
$(OPT_SOURCES_libvlc_win32)
$(OPT_SOURCES_libvlc_dirent)
$(OPT_SOURCES_libvlc_getopt)
;
do
echo
$$i
;
done
|
grep
"/.*/"
|
cut
-f2
-d/
|
sort
|
uniq`
;
do
\
echo
'# Begin Group "'
$$subdir
'" '
>>
msvc/vlc.dsp
;
\
for
file
in
`for
i
in
$(SOURCES_libvlc)
$(OPT_SOURCES_libvlc_win32)
$(OPT_SOURCES_libvlc_dirent
t
)
$(OPT_SOURCES_libvlc_getopt)
;
do
echo
$$i
;
done
|
grep
"/$$subdir/"
`
;
do
\
for
file
in
`for
i
in
$(SOURCES_libvlc)
$(OPT_SOURCES_libvlc_win32)
$(OPT_SOURCES_libvlc_dirent)
$(OPT_SOURCES_libvlc_getopt)
;
do
echo
$$i
;
done
|
grep
"/$$subdir/"
`
;
do
\
echo
'# Begin Source File '
>>
msvc/vlc.dsp
;
\
echo
$$file
|
sed
-e
's%/%\\%g'
-e
's%.*%SOURCE="..\\&" %'
>>
msvc/vlc.dsp
;
\
echo
'# ADD CPP /D "__VLC__" /D PLUGIN_PATH=\"plugins\" /D DATA_PATH=\"share\" '
>>
msvc/vlc.dsp
;
\
...
...
configure.ac.in
View file @
5d02f37f
...
...
@@ -218,7 +218,7 @@ AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol isatty vasprintf swab
dnl Check for strndup
need_strndup=false
AC_CHECK_FUNC(strndup,,[need_strndup=:])
AC_CHECK_FUNC
S
(strndup,,[need_strndup=:])
AM_CONDITIONAL(BUILD_STRNDUP, ${need_strndup})
AC_CHECK_FUNC(connect,,[
...
...
@@ -327,7 +327,7 @@ AC_HEADER_TIME
dnl Check for dirent
need_dirent=false
AC_CHECK_HEADER(dirent.h,,[need_dirent=:])
AC_CHECK_HEADER
S
(dirent.h,,[need_dirent=:])
AM_CONDITIONAL(BUILD_DIRENT, ${need_dirent})
dnl Mac OS X and other OSes don't have declaration for nanosleep
...
...
src/extras/dirent.c
View file @
5d02f37f
...
...
@@ -9,9 +9,9 @@
* Significantly revised and rewinddir, seekdir and telldir added by Colin
* Peters <colin@fu.is.saga-u.ac.jp>
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
* $Author: sam $
* $Date: 2002/11/09 1
6:34:52
$
* $Date: 2002/11/09 1
7:44:09
$
*
*/
...
...
@@ -20,7 +20,7 @@
#include <string.h>
#include <io.h>
#include <direct.h>
#include
<dirent.h>
#include
"dirent.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
/* for GetFileAttributes */
...
...
src/libvlc.c
View file @
5d02f37f
...
...
@@ -2,7 +2,7 @@
* libvlc.c: main libvlc source
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* $Id: libvlc.c,v 1.4
3 2002/11/06 09:26:25
sam Exp $
* $Id: libvlc.c,v 1.4
4 2002/11/09 17:44:08
sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -51,7 +51,7 @@
#endif
#ifdef WIN32
/* optind, getopt(), included in unistd.h */
# include "extras/
GNUgetopt/
getopt.h"
# include "extras/getopt.h"
#endif
#ifdef HAVE_LOCALE_H
...
...
src/misc/configuration.c
View file @
5d02f37f
...
...
@@ -2,7 +2,7 @@
* configuration.c management of the modules configuration
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: configuration.c,v 1.4
1 2002/10/08 18:10:10
sam Exp $
* $Id: configuration.c,v 1.4
2 2002/11/09 17:44:09
sam Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -37,7 +37,7 @@
# include <getopt.h>
/* getopt() */
# endif
#else
# include "
extras/GNUgetopt
/getopt.h"
# include "
../extras
/getopt.h"
#endif
#if defined(HAVE_GETPWUID)
...
...
src/misc/modules.c
View file @
5d02f37f
...
...
@@ -2,7 +2,7 @@
* modules.c : Builtin and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules.c,v 1.10
0 2002/10/31 11:16:30
sam Exp $
* $Id: modules.c,v 1.10
1 2002/11/09 17:44:09
sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
...
...
@@ -35,7 +35,12 @@
#include <vlc/vlc.h>
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#else
# include "../extras/dirent.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
...
...
@@ -616,7 +621,7 @@ static void AllocatePluginDir( vlc_object_t *p_this, const char *psz_dir,
while
(
(
file
=
readdir
(
dir
))
)
{
struct
stat
statbuf
;
int
i_len
;
unsigned
int
i_len
;
/* Skip ".", ".." and anything starting with "." */
if
(
!*
file
->
d_name
||
*
file
->
d_name
==
'.'
)
...
...
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