0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-02-07 18:39:53 +00:00
Lakka-LibreELEC/packages/addons/service/tvheadend42/patches/tvheadend42-07-dont-use-reserved-word-bool.patch
Rudi Heitbaum b61a2b5b07 tvheadend42: fix gcc-15 build
patch from: 7ec273f4ff
2024-12-16 02:33:02 +00:00

23 lines
563 B
Diff

diff --git a/src/htsmsg.h b/src/htsmsg.h
index 5cdcaa4867..d15c547e58 100644
--- a/src/htsmsg.h
+++ b/src/htsmsg.h
@@ -75,7 +75,7 @@ typedef struct htsmsg_field {
} bin;
htsmsg_t *msg;
double dbl;
- int bool;
+ int boolean;
} u;
#if ENABLE_SLOW_MEMORYINFO
@@ -91,7 +91,7 @@ typedef struct htsmsg_field {
#define hmf_bin u.bin.data
#define hmf_binsize u.bin.len
#define hmf_dbl u.dbl
-#define hmf_bool u.bool
+#define hmf_bool u.boolean
// backwards compat
#define htsmsg_get_map_by_field(f) htsmsg_field_get_map(f)