From 9258019e0f3cff4736930286bc968b74013090b9 Mon Sep 17 00:00:00 2001 From: schmirl Date: Wed, 16 Jul 2008 05:59:45 +0000 Subject: - added preprocessor directive for ancient gcc --- HISTORY | 1 + server/connectionVTP.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 10d1ce3..681beae 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,7 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- added preprocessor directive for ancient gcc - added Russian translation (thanks to Oleg Roitburd) - fixed assignment of externremux.sh's default location (reported by plautze) - added French translation (thanks to micky979) diff --git a/server/connectionVTP.h b/server/connectionVTP.h index 3acb1a2..452f3ae 100644 --- a/server/connectionVTP.h +++ b/server/connectionVTP.h @@ -12,9 +12,9 @@ class cLSTTHandler; class cConnectionVTP: public cServerConnection { friend class cLSTEHandler; - // if your compiler doesn't understand the following statement - // (e.g. gcc 2.x), simply remove it and try again ;-) +#if !defined __GNUC__ || __GNUC__ >= 3 using cServerConnection::Respond; +#endif private: cTBSocket *m_LiveSocket; -- cgit v1.2.3