Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
ca6b544a
Commit
ca6b544a
authored
Sep 13, 2012
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os_support: Choose between direct.h and io.h using a configure check
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
7b07fab5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
configure
configure
+2
-0
os_support.h
libavformat/os_support.h
+3
-3
No files found.
configure
View file @
ca6b544a
...
...
@@ -1132,6 +1132,7 @@ HAVE_LIST="
dev_ic_bt8xx_h
dev_video_bktr_ioctl_bt848_h
dev_video_meteor_ioctl_meteor_h
direct_h
dlfcn_h
dlopen
dos_paths
...
...
@@ -3175,6 +3176,7 @@ check_func_headers windows.h MapViewOfFile
check_func_headers windows.h Sleep
check_func_headers windows.h VirtualAlloc
check_header direct.h
check_header dlfcn.h
check_header dxva.h
check_header dxva2api.h
...
...
libavformat/os_support.h
View file @
ca6b544a
...
...
@@ -39,10 +39,10 @@
#endif
/* defined(__MINGW32__) && !defined(__MINGW32CE__) */
#ifdef _WIN32
#ifdef __MINGW32CE__
#include <io.h>
#else
#if HAVE_DIRECT_H
#include <direct.h>
#elif HAVE_IO_H
#include <io.h>
#endif
#define mkdir(a, b) _mkdir(a)
#else
...
...
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