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
117e041c
Commit
117e041c
authored
Apr 01, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix stat wrapper on windows... Wrappers are nice. Wrappers which work are better.
parent
663b6a30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
src/misc/unicode.c
src/misc/unicode.c
+13
-1
No files found.
src/misc/unicode.c
View file @
117e041c
...
...
@@ -43,9 +43,21 @@
#ifdef UNDER_CE
# include <tchar.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if defined( WIN32 ) && !defined( UNDER_CE )
/* stat() support for large files on win32 */
# define stat _stati64
# define fstat(a,b) _fstati64(a,b)
# ifdef lseek
# undef lseek
# endif
# define lseek _lseeki64
#endif
#ifndef HAVE_LSTAT
# define lstat( a, b ) stat(a, b)
#endif
...
...
@@ -510,7 +522,7 @@ static int utf8_statEx( const char *filename, void *buf,
wpath
[
MAX_PATH
]
=
L'\0'
;
/* struct _stat is just a silly Microsoft alias for struct stat */
return
_wstat
(
wpath
,
(
struct
_stat
*
)
buf
);
return
_wstat
i64
(
wpath
,
(
struct
_stati64
*
)
buf
);
#endif
}
...
...
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