From 90bae5b011f52b82c7a9f7f412533cca64c752ac Mon Sep 17 00:00:00 2001 From: schmirl Date: Wed, 16 Jul 2008 06:00:48 +0000 Subject: [PATCH] - 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 824aaa3..95d5acd 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;