# HG changeset patch # User michael # Date 1065860379 0 # Node ID 750b460ceb66bff65efa98652d9337426154628d # Parent 5a43bc31c2ebd8612980b10c30176863f117ce50 recommit of #define DEBUG fix by (Glenn Maynard ) diff -r 5a43bc31c2eb -r 750b460ceb66 common.h --- 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 */