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
f8cad0ac
Commit
f8cad0ac
authored
Apr 01, 2002
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixes for the Win32_msvc build
parent
768eb521
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
7 deletions
+18
-7
extras/libdvdcss/ioctl.c
extras/libdvdcss/ioctl.c
+4
-2
include/common.h
include/common.h
+7
-3
src/misc/modules.c
src/misc/modules.c
+7
-2
No files found.
extras/libdvdcss/ioctl.c
View file @
f8cad0ac
...
...
@@ -2,7 +2,7 @@
* ioctl.c: DVD ioctl replacement function
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: ioctl.c,v 1.2
0 2002/01/13 18:13:07
gbazin Exp $
* $Id: ioctl.c,v 1.2
1 2002/04/01 21:54:26
gbazin Exp $
*
* Authors: Markus Kuespert <ltlBeBoy@beosmail.com>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -1462,7 +1462,9 @@ int ioctl_ReportRPC( int i_fd, int *p_type, int *p_mask, int *p_scheme )
key
->
KeyType
=
DvdGetRpcKey
;
key
->
KeyFlags
=
0
;
#warning "Fix ReportRPC for WIN32!"
#if !defined( _MSC_VER )
# warning "Fix ReportRPC for WIN32!"
#endif
/* The IOCTL_DVD_READ_KEY might be the right IOCTL */
i_ret
=
DeviceIoControl
(
(
HANDLE
)
i_fd
,
IOCTL_DVD_READ_KEY
,
key
,
key
->
KeyLength
,
key
,
key
->
KeyLength
,
&
tmp
,
NULL
)
?
0
:
-
1
;
...
...
include/common.h
View file @
f8cad0ac
...
...
@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: common.h,v 1.
89 2002/03/25 23:36:57 ipkiss
Exp $
* $Id: common.h,v 1.
90 2002/04/01 21:54:26 gbazin
Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
...
...
@@ -287,6 +287,10 @@ struct intf_subscription_s;
__r.__l[1] = __bswap_32 (__w.__l[0]); \
} \
__r.__ll; }))
# else
# define __bswap_64(i) \
(u64)((__bswap_32((i) & 0xffffffff) << 32) | \
__bswap_32(((i) >> 32) & 0xffffffff ))
# endif
#else
/* NTOHL_IN_SYS_PARAM_H || WIN32 */
...
...
@@ -394,11 +398,12 @@ struct intf_subscription_s;
# define __inline__ __inline
# define strncasecmp strnicmp
# define strcasecmp stricmp
# define S_IFBLK 0x3000
/* Block */
# define S_ISBLK(m) (0)
# define S_ISCHR(m) (0)
# define S_ISFIFO(m) (((m)&_S_IFMT) == _S_IFIFO)
# define S_ISREG(m) (((m)&_S_IFMT) == _S_IFREG)
# undef I64C
(x)
# undef I64C
# define I64C(x) x##i64
# endif
...
...
@@ -420,7 +425,6 @@ typedef __int64 off_t;
# else
# define off_t __int64
# endif
# define stat _stati64
# endif
# if defined( __BORLANDC__ )
...
...
src/misc/modules.c
View file @
f8cad0ac
...
...
@@ -2,7 +2,7 @@
* modules.c : Built-in and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules.c,v 1.5
6 2002/03/01 16:07:00 sam
Exp $
* $Id: modules.c,v 1.5
7 2002/04/01 21:54:26 gbazin
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
...
...
@@ -73,7 +73,12 @@
#ifdef HAVE_DYNAMIC_PLUGINS
# include "modules_plugin.h"
#endif
#include "modules_builtin.h"
#if !defined( _MSC_VER )
# include "modules_builtin.h"
#else
# include "modules_builtin_msvc.h"
#endif
/*****************************************************************************
* Local prototypes
...
...
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