From 8edd4eb02751bbf45ab2833102dee3707fbbd499 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Sun, 20 Jun 2010 18:17:42 +0200 Subject: Reaction to a patch sent by Jan Willies for an other problem with tntnet version string. Jan's patch resolved the immediate problem with regard to the updated version but was not backwards compatible for older tntnet version. My changes to the code adressed that problem and added an enhancement how to deal with that problem in the future. --- tntconfig.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tntconfig.h') diff --git a/tntconfig.h b/tntconfig.h index 9c30e44..c02e6a0 100644 --- a/tntconfig.h +++ b/tntconfig.h @@ -3,10 +3,11 @@ #include #include +#include "tntfeatures.h" namespace vdrlive { -#if TNTVERSION >= 1606 +#if TNT_CONFIG_INTERNAL class TntConfig { public: @@ -36,7 +37,7 @@ namespace vdrlive { void WriteProperties(); void WriteConfig(); }; -#endif +#endif // TNT_CONFIG_INTERNAL } // namespace vdrlive -- cgit v1.2.3