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
bdde76df
Commit
bdde76df
authored
Jan 09, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix win* compilation and cosmetics
Sorry for the mistake
parent
72f56af8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
src/misc/block.c
src/misc/block.c
+4
-6
No files found.
src/misc/block.c
View file @
bdde76df
...
...
@@ -363,9 +363,9 @@ block_t *block_mmap_Alloc (void *addr, size_t length)
#ifdef WIN32
# include <io.h>
#ifdef UNDER_CE
#define _get_osfhandle(a) ((long) (a))
#endif
#
ifdef UNDER_CE
#
define _get_osfhandle(a) ((long) (a))
#
endif
static
ssize_t
pread
(
int
fd
,
void
*
buf
,
size_t
count
,
off_t
offset
)
...
...
@@ -383,9 +383,7 @@ ssize_t pread (int fd, void *buf, size_t count, off_t offset)
return
written
;
return
-
1
;
}
#endif
#ifndef HAVE_PREAD
#elif !defined( HAVE_PREAD )
static
ssize_t
pread
(
int
fd
,
const
void
*
buf
,
size_t
size
,
off_t
offset
)
{
off_t
offs0
;
...
...
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