changeset 1509:750b460ceb66 libavcodec

recommit of #define DEBUG fix by (Glenn Maynard <g_sf at zewt dot org>)
author michael
date Sat, 11 Oct 2003 08:19:39 +0000
parents 5a43bc31c2eb
children ca1da7d99d52
files common.h
diffstat 1 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Sat Oct 11 08:18:05 2003 +0000
+++ b/common.h	Sat Oct 11 08:19:39 2003 +0000
@@ -99,20 +99,24 @@
 #        define int64_t_C(c)     (c ## i64)
 #        define uint64_t_C(c)    (c ## i64)
 
-#        define inline __inline
+#    ifdef HAVE_AV_CONFIG_H
+#            define inline __inline
+#    endif
 
 #    else
 #        define int64_t_C(c)     (c ## LL)
 #        define uint64_t_C(c)    (c ## ULL)
 #    endif /* __MINGW32__ */
 
-#    ifdef _DEBUG
-#        define DEBUG
+#    ifdef HAVE_AV_CONFIG_H
+#        ifdef _DEBUG
+#            define DEBUG
+#        endif
+
+#        define snprintf _snprintf
+#        define vsnprintf _vsnprintf
 #    endif
 
-#    define snprintf _snprintf
-#    define vsnprintf _vsnprintf
-
 /* CONFIG_WIN32 end */
 #elif defined (CONFIG_OS2)
 /* OS/2 EMX */