Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
f8cad0ac
Commit
f8cad0ac
authored
Apr 01, 2002
by
gbazin
Browse files
* Fixes for the Win32_msvc build
parent
768eb521
Changes
3
Hide whitespace changes
Inline
Side-by-side
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/0
1/13 18:13:07
gbazin Exp $
* $Id: ioctl.c,v 1.2
1
2002/0
4/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.
8
9 2002/0
3/25 23:36:57 ipkiss
Exp $
* $Id: common.h,v 1.9
0
2002/0
4/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/0
3
/01
16:07:00 sam
Exp $
* $Id: modules.c,v 1.5
7
2002/0
4
/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
Supports
Markdown
0%
Try again
or
attach a new 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