diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-06-25 00:42:27 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-07 18:41:23 +0200 |
commit | f3be3597079be7cd7adbb8392c32e408cadd3da2 (patch) | |
tree | babf3ecce13546fb87b30c86467eaff3505b84d4 /configure | |
parent | a4d71eb5c3a6265afee1c25fea549dd071c1f4a6 (diff) | |
download | ffmpeg-f3be3597079be7cd7adbb8392c32e408cadd3da2.tar.gz |
file: Only include unistd.h if it exists
It is included for the open/read/write/close functions. On
MSVC, where this header does not exist, the same functions
are provided by io.h, which is already included.
On windows, these functions are provided by io.h. Make sure
io.h is included if it exists, regardless of the setmode
function.
Signed-off-by: Martin Storsjö <martin@martin.st>
Conflicts:
configure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1302,6 +1302,7 @@ HAVE_LIST=" ibm_asm inet_aton inline_asm + io_h isatty isinf isnan @@ -3503,6 +3504,7 @@ check_func_headers glob.h glob check_header dlfcn.h check_header dxva.h check_header dxva2api.h -D_WIN32_WINNT=0x0600 +check_header io.h check_header libcrystalhd/libcrystalhd_if.h check_header malloc.h check_header poll.h |