summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorGildas Bazin <gbazi@altern.org>2006-01-22 18:34:17 +0000
committerDiego Biurrun <diego@biurrun.de>2006-01-22 18:34:17 +0000
commitac44871c7773fb9a6b18d362cec9a4630055fc50 (patch)
treed887ca20cd31f65cf427b50793cf03ca20f5374b /libavutil
parent0e6c947df3a834484c04c3e9a646004ab7ccda65 (diff)
downloadffmpeg-ac44871c7773fb9a6b18d362cec9a4630055fc50.tar.gz
WinCE cross-compilation support
patch by Gildas Bazin < gbazin **@** altern **.** org > Originally committed as revision 4881 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/common.h8
1 files changed, 8 insertions, 0 deletions
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)