diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-08-31 19:28:10 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-02 10:36:11 +0200 |
commit | ee485b4051c24e2cebe46b426294b346f0f5fff4 (patch) | |
tree | 4f7c88a593b99a48255f0703ec67da2b3634ce35 /doc | |
parent | 25ecc94d58f8e80137a1243d31b2b98bdeda5039 (diff) | |
download | ffmpeg-ee485b4051c24e2cebe46b426294b346f0f5fff4.tar.gz |
avformat/internal: Don't auto-include os_support.h
It includes various Windows-specific headers when compiling
for Windows and these sometimes cause issues: E.g. winbase.h
defines IGNORE, which clashes with a macro used in the Matroska
muxer (since 884653ee5be03ed38db957c14fad51b300611c8c) and demuxer.
This header provides fallback defines for various stuff that is
mostly not used directly by (de)muxers at all:
mkdir, rename, rmdir, unlink, access, poll, pollfd, nfds_t,
closesocket, socklen_t, fstat, stat, lseek, SHUT_(RD|WR|RDWR)
and various POLL* constants.
Ergo fix this issue by not auto-including this header in lots
of places via an inclusion in internal.h and instead include
it everywhere where the above stuff is used (most of these
translation units already included os_support.h).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions