changeset 19:2a55eb7ca57b libavutil

WinCE cross-compilation support patch by Gildas Bazin < gbazin **@** altern **.** org >
author diego
date Sun, 22 Jan 2006 18:34:17 +0000
parents bce77374e1e7
children 56860d9c35c2
files common.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Sun Jan 15 00:28:36 2006 +0000
+++ b/common.h	Sun Jan 22 18:34:17 2006 +0000
@@ -200,6 +200,11 @@
 
 #        define snprintf _snprintf
 #        define vsnprintf _vsnprintf
+
+#        ifdef CONFIG_WINCE
+#            define perror(a)
+#        endif
+
 #    endif
 
 /* CONFIG_WIN32 end */
@@ -281,6 +286,9 @@
 #        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)