From b99a359e0956748403f9b64caf45f58c67bb62b9 Mon Sep 17 00:00:00 2001 From: Andreas Mair Date: Fri, 7 Dec 2012 12:00:15 +0100 Subject: Always use VDR's cutting feature in VDR >=1.7.32. --- HISTORY | 1 + tools.h | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/HISTORY b/HISTORY index 74f044d..3e0ec28 100644 --- a/HISTORY +++ b/HISTORY @@ -2,6 +2,7 @@ VDR Plugin 'extrecmenu' Revision History ---------------------------------------- 2012-xx-xx: Version 1.2.3 +- [amair] Always use VDR's cutting feature in VDR >=1.7.32. - [amair] Reduced calls to get the free disk space. - [amair] Use new MBperMinute() function in VDR >=1.7.27. - [amair] Fixed compiling with VDR 1.7.28. diff --git a/tools.h b/tools.h index 3ca48f0..189d312 100644 --- a/tools.h +++ b/tools.h @@ -1,3 +1,9 @@ +#ifndef USE_VDR_CUTTER +# if VDRVERSNUM >= 10732 +# define USE_VDR_CUTTER +# endif +#endif + std::string myStrReplace(std::string S,char C1,const char* C2); class SortListItem:public cListObject -- cgit v1.2.3