Mercurial > libavcodec.hg
diff common.h @ 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 | 958d9c0cedba |
children | 79dddc5cd990 |
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 */