summaryrefslogtreecommitdiff
path: root/epgsearchtools.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-09-14 21:06:49 +0300
committerChristian Wieninger <cwieninger@gmx.de>2011-09-19 19:03:36 +0200
commit4c5fd51e7445d0288160aa2495a60b6847d759e8 (patch)
treed85d437ba9224d35b694412e655a08b7b08b5c06 /epgsearchtools.c
parent4fc51ae39944b7c109cd2cdb7b3ea94fc391f0c8 (diff)
downloadvdr-plugin-epgsearch-4c5fd51e7445d0288160aa2495a60b6847d759e8.tar.gz
vdr-plugin-epgsearch-4c5fd51e7445d0288160aa2495a60b6847d759e8.tar.bz2
Remove miscellaneous obsolete VDR < 1.6.0 code.
Diffstat (limited to 'epgsearchtools.c')
-rw-r--r--epgsearchtools.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/epgsearchtools.c b/epgsearchtools.c
index 6a58b51..cdf2404 100644
--- a/epgsearchtools.c
+++ b/epgsearchtools.c
@@ -41,9 +41,7 @@ The project's page is at http://winni.vdr-developer.org/epgsearch
#include "md5.h"
#include "afuzzy.h"
#include "timerstatus.h"
-#if APIVERSNUM >= 10503
#include <langinfo.h>
-#endif
#ifdef HAVE_PCREPOSIX
#include <pcreposix.h>
@@ -854,7 +852,6 @@ int msprintf(char **strp, const char *fmt, ...)
std::string GetCodeset()
{
-#if APIVERSNUM >= 10503
// Taken from VDR's vdr.c
char *CodeSet = NULL;
if (setlocale(LC_CTYPE, ""))
@@ -871,9 +868,6 @@ std::string GetCodeset()
return std::string(CodeSet);
else
return "ISO-8859-15";
-#else
- return "ISO-8859-15";
-#endif
}
/* Read a line from a socket */