From 5c51c07e4bd766085fd3ddbf8713cbf6d203e0db Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Fri, 26 Apr 2002 17:29:34 +0000 Subject: Some minor changes to make libavcodec compibale with Sun's Forte compiler CVS patchset: 1778 CVS date: 2002/04/26 17:29:34 --- src/libffmpeg/libavcodec/common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libffmpeg/libavcodec/common.h') diff --git a/src/libffmpeg/libavcodec/common.h b/src/libffmpeg/libavcodec/common.h index 5cab8554b..53e123d48 100644 --- a/src/libffmpeg/libavcodec/common.h +++ b/src/libffmpeg/libavcodec/common.h @@ -148,7 +148,11 @@ inline void dprintf(const char* fmt,...) {} #else #ifdef DEBUG +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) || !defined(__GNUC__) +#define dprintf(...) printf(__VA_ARGS__) +#else #define dprintf(fmt,args...) printf(fmt, ## args) +#endif #else #define dprintf(fmt,args...) #endif -- cgit v1.2.3