Changeset 3b1ab197 in ffmpeg

Timestamp:
Jun 29, 2012, 12:53:41 PM (12 years ago)
Author:
Martin Storsjö <martin@martin.st>
Branches:
master
Children:
8a85660d, f2fd1678
Parents:
f9851130
git-author:
Ronald S. Bultje <rsbultje@gmail.com> (06/24/12 21:42:27)
git-committer:
Martin Storsjö <martin@martin.st> (06/29/12 12:53:41)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.