Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
85a46ad6
Commit
85a46ad6
authored
Mar 12, 2013
by
Hendrik Leppkes
Committed by
Martin Storsjö
Mar 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32: Use 64-bit fstat/lseek variants for MSVC as well
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
ad040259
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
os_support.c
libavformat/os_support.c
+3
-0
os_support.h
libavformat/os_support.h
+1
-1
No files found.
libavformat/os_support.c
View file @
85a46ad6
...
@@ -29,6 +29,9 @@
...
@@ -29,6 +29,9 @@
#if defined(_WIN32) && !defined(__MINGW32CE__)
#if defined(_WIN32) && !defined(__MINGW32CE__)
#undef open
#undef open
#undef lseek
#undef stat
#undef fstat
#include <fcntl.h>
#include <fcntl.h>
#include <io.h>
#include <io.h>
#include <windows.h>
#include <windows.h>
...
...
libavformat/os_support.h
View file @
85a46ad6
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include <sys/stat.h>
#include <sys/stat.h>
#if defined(_
_MINGW32__
) && !defined(__MINGW32CE__)
#if defined(_
WIN32
) && !defined(__MINGW32CE__)
# include <fcntl.h>
# include <fcntl.h>
# define lseek(f,p,w) _lseeki64((f), (p), (w))
# define lseek(f,p,w) _lseeki64((f), (p), (w))
# define stat _stati64
# define stat _stati64
...
...
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