From ac44871c7773fb9a6b18d362cec9a4630055fc50 Mon Sep 17 00:00:00 2001 From: Gildas Bazin Date: Sun, 22 Jan 2006 18:34:17 +0000 Subject: WinCE cross-compilation support patch by Gildas Bazin < gbazin **@** altern **.** org > Originally committed as revision 4881 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/common.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libavutil/common.h') diff --git a/libavutil/common.h b/libavutil/common.h index d45ca40aca..09638c39e7 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -200,6 +200,11 @@ static inline float floorf(float f) { # define snprintf _snprintf # define vsnprintf _vsnprintf + +# ifdef CONFIG_WINCE +# define perror(a) +# endif + # endif /* CONFIG_WIN32 end */ @@ -281,6 +286,9 @@ inline void dprintf(const char* fmt,...) {} # endif # endif /* !CONFIG_WIN32 */ +# ifdef CONFIG_WINCE +# define abort() +# endif # define av_abort() do { av_log(NULL, AV_LOG_ERROR, "Abort at %s:%d\n", __FILE__, __LINE__); abort(); } while (0) -- cgit v1.2.3