Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
96bf31fa
Commit
96bf31fa
authored
Aug 30, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hack to fix Windows build
Better patch welcome
parent
dda048cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
modules/access/file.c
modules/access/file.c
+0
-10
No files found.
modules/access/file.c
View file @
96bf31fa
...
...
@@ -89,7 +89,6 @@ struct access_sys_t
bool
b_pace_control
;
};
#if !defined (WIN32) && !defined (__OS2__)
static
bool
IsRemote
(
int
fd
)
{
#if defined (HAVE_FSTATVFS) && defined (MNT_LOCAL)
...
...
@@ -124,7 +123,6 @@ static bool IsRemote (int fd)
#endif
}
#endif
#ifndef HAVE_POSIX_FADVISE
# define posix_fadvise(fd, off, len, adv)
...
...
@@ -173,14 +171,6 @@ int Open( vlc_object_t *p_this )
dialog_Fatal
(
p_access
,
_
(
"File reading failed"
),
_
(
"VLC could not open the file
\"
%s
\"
. (%m)"
),
path
);
}
#ifdef WIN32
wchar_t
*
wpath
=
ToWide
(
path
);
if
(
wpath
!=
NULL
&&
PathIsNetworkPathW
(
wpath
))
is_remote
=
true
;
free
(
wpath
);
# define IsRemote( fd ) ((void)fd, is_remote)
#endif
}
if
(
fd
==
-
1
)
return
VLC_EGENERIC
;
...
...
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