summaryrefslogtreecommitdiff
path: root/infosatepg.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-07-08 21:08:30 +0200
committerJochen Dolze <vdr@dolze.de>2010-07-08 21:08:30 +0200
commit54043194a2afb962f34fd47ed304e2fe634b61b3 (patch)
tree4704a62e1142c43456e098a65b7de9550afb4839 /infosatepg.cpp
parentdbc19f6c4b17e9109e7898df076fe8464487447d (diff)
downloadvdr-plugin-infosatepg-54043194a2afb962f34fd47ed304e2fe634b61b3.tar.gz
vdr-plugin-infosatepg-54043194a2afb962f34fd47ed304e2fe634b61b3.tar.bz2
Added compatibility for GCC3.x
Diffstat (limited to 'infosatepg.cpp')
-rw-r--r--infosatepg.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/infosatepg.cpp b/infosatepg.cpp
index 07a1aea..fd09db5 100644
--- a/infosatepg.cpp
+++ b/infosatepg.cpp
@@ -18,7 +18,11 @@
#include "setup.h"
#include "process.h"
+#if __GNUC__ > 3
#define UNUSED(v) UNUSED_ ## v __attribute__((unused))
+#else
+#define UNUSED(x) x
+#endif
extern char *strcatrealloc(char *dest, const char *src);