From e41daa62465036ad36ad0bd14e4936e848d7f07e Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 30 Aug 2017 22:04:30 +0300 Subject: Remove support for building for mingw32ce (Windows CE) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ö --- libavutil/file_open.c | 2 +- libavutil/wchar_filename.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libavutil') diff --git a/libavutil/file_open.c b/libavutil/file_open.c index f14ea70862..dc666fe742 100644 --- a/libavutil/file_open.c +++ b/libavutil/file_open.c @@ -29,7 +29,7 @@ #include #endif -#if defined(_WIN32) && !defined(__MINGW32CE__) +#ifdef _WIN32 #undef open #undef lseek #undef stat diff --git a/libavutil/wchar_filename.h b/libavutil/wchar_filename.h index 2781773dee..da1a0224ba 100644 --- a/libavutil/wchar_filename.h +++ b/libavutil/wchar_filename.h @@ -19,7 +19,7 @@ #ifndef AVUTIL_WCHAR_FILENAME_H #define AVUTIL_WCHAR_FILENAME_H -#if defined(_WIN32) && !defined(__MINGW32CE__) +#ifdef _WIN32 #include #include "mem.h" -- cgit v1.2.3