summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2001-09-06 18:38:11 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2001-09-06 18:38:11 +0000
commit94f33ff7e3b7140e78c014be1a68fe9c1ba17814 (patch)
tree56aacd13a3a2f5de4def305cceb2789cfa9bd807 /src/libffmpeg/libavcodec/mpeg12.c
parent8d3fda905911b0b1cdadb33c00fb1f800e8f9320 (diff)
downloadxine-lib-94f33ff7e3b7140e78c014be1a68fe9c1ba17814.tar.gz
xine-lib-94f33ff7e3b7140e78c014be1a68fe9c1ba17814.tar.bz2
Trying to port the xine-lib sources to a non-gcc compiler
CVS patchset: 584 CVS date: 2001/09/06 18:38:11
Diffstat (limited to 'src/libffmpeg/libavcodec/mpeg12.c')
-rw-r--r--src/libffmpeg/libavcodec/mpeg12.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/libffmpeg/libavcodec/mpeg12.c b/src/libffmpeg/libavcodec/mpeg12.c
index f0aecd980..00183c22d 100644
--- a/src/libffmpeg/libavcodec/mpeg12.c
+++ b/src/libffmpeg/libavcodec/mpeg12.c
@@ -27,9 +27,17 @@
#ifndef CONFIG_WIN32
#ifdef DEBUG
-#define dprintf(fmt,args...) printf(fmt, ## args)
+# if __GNUC_
+# define dprintf(fmt,args...) printf(fmt, ## args)
+# else
+# define dprintf(...) printf(__VA_ARGS__)
+# endif
#else
-#define dprintf(fmt,args...)
+# if __GNUC__
+# define dprintf(fmt,args...)
+# else
+# define dprintf(...)
+# endif
#endif
#else