diff options
author | Martin Storsjö <martin@martin.st> | 2017-08-30 22:04:30 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2017-08-31 14:21:08 +0300 |
commit | e41daa62465036ad36ad0bd14e4936e848d7f07e (patch) | |
tree | 9697c49546f103326df3ac904fb509d2126b61bd /libavformat | |
parent | 173b56218f39c6463be0e182259e2deead106936 (diff) | |
download | ffmpeg-streaming-e41daa62465036ad36ad0bd14e4936e848d7f07e.zip ffmpeg-streaming-e41daa62465036ad36ad0bd14e4936e848d7f07e.tar.gz |
Remove support for building for mingw32ce (Windows CE)
The toolchain for this target is unmaintained since many years.
While it has been continuously build tested on fate, it hasn't
actually been tested at runtime since many, many years (and back
then, only a few codecs in libavcodec were tested).
So far, keeping support for it has been mostly effortless, but
the compiler does seem to have issues with dllimported data symbols,
ending up as internal compiler errors in some cases. Instead of
jumping through further hoops to work around that, just remove the
target.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/os_support.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 55c2fdb..75a1296 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -40,7 +40,7 @@ #endif #endif -#if defined(_WIN32) && !defined(__MINGW32CE__) +#ifdef _WIN32 # include <fcntl.h> # undef lseek # define lseek(f,p,w) _lseeki64((f), (p), (w)) @@ -48,7 +48,7 @@ # define stat _stati64 # undef fstat # define fstat(f,s) _fstati64((f), (s)) -#endif /* defined(_WIN32) && !defined(__MINGW32CE__) */ +#endif /* defined(_WIN32) */ static inline int is_dos_path(const char *path) { @@ -122,9 +122,7 @@ int ff_poll(struct pollfd *fds, nfds_t numfds, int timeout); #endif /* HAVE_POLL_H */ #endif /* CONFIG_NETWORK */ -#if defined(__MINGW32CE__) -#define mkdir(a, b) _mkdir(a) -#elif defined(_WIN32) +#ifdef _WIN32 #include <stdio.h> #include <windows.h> #include "libavutil/wchar_filename.h" |