Changeset 5aff37d2 in ffmpeg
- Timestamp:
-
Jun 30, 2012, 12:16:43 PM
(12 years ago)
- Author:
- Martin Storsjö <martin@martin.st>
- Branches:
- master
- Children:
- 71078ad
- Parents:
- f2fd1678
- git-author:
- Ronald S. Bultje <rsbultje@gmail.com> (06/24/12 18:29:14)
- git-committer:
- Martin Storsjö <martin@martin.st> (06/30/12 12:16:43)
- Message:
-
os_support: Include all the necessary headers for the win32 open function
io.h is required for open and _wopen, and fcntl.h is required for
the O_CREAT flag. On mingw, fcntl.h is included by os_support.h (and
the mingw fcntl.h includes io.h), but include it explicitly here
since this implementation requires it.
Also move the #undef open up. open must not be defined to ff_win32_open
while including the headers that declare the open function. On mingw,
this happened in os_support.h before open was redirected.
Signed-off-by: Martin Storsjö <martin@martin.st>
-
(No files)
-