summaryrefslogtreecommitdiffstats
path: root/multimedia/vdr-plugin-epgsearch/files/patch-isnumber
blob: edc5904c529aedc616ac40544f3329bb2740cdd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- a/epgsearchext.c
+++ b/epgsearchext.c
@@ -39,6 +39,12 @@ The project's page is at http://winni.vd
 #include "blacklist.h"
 #include <math.h>
 
+#ifdef __FreeBSD__
+#ifdef isnumber
+#undef isnumber
+#endif
+#endif
+
 cSearchExts SearchExts;
 cSearchExts SearchTemplates;
 
--- a/epgsearchsvdrp.c
+++ b/epgsearchsvdrp.c
@@ -40,6 +40,12 @@ The project's page is at http://winni.vd
 #include "conflictcheck.h"
 #include "menu_main.h"
 
+#ifdef __FreeBSD__
+#ifdef isnumber
+#undef isnumber
+#endif
+#endif
+
 using std::string;
 using std::set;
 
OpenPOWER on IntegriCloud