Skip to content
Snippets Groups Projects
Commit f3be3597 authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Michael Niedermayer
Browse files

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: default avatarMartin Storsjö <martin@martin.st>

Conflicts:

	configure

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent a4d71eb5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment