fix(linux): keep the mpv node builder clear of X11's Bool macro

The Linux native reliability job stopped compiling mpv_player.cc: the
node-conversion builder exposed a leaf named `Bool`, and X11's Xlib.h —
reached through epoxy/egl.h -> EGL/eglplatform.h — defines `Bool` as a
macro for `int`, so the declaration was rewritten into nonsense.

Renames that leaf to `Boolean` across the shared walk and all three
builders. The name is the only thing that changes; no conversion
behaviour differs.
This commit is contained in:
edde746
2026-07-26 23:05:16 +02:00
parent 100d7729df
commit 35f7a12d7c
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -969,7 +969,7 @@ struct FlValueNodeBuilder {
using MapBuilder = FlValue*;
static Value Null() { return fl_value_new_null(); }
static Value Bool(bool value) { return fl_value_new_bool(value); }
static Value Boolean(bool value) { return fl_value_new_bool(value); }
static Value Int(int64_t value) { return fl_value_new_int(value); }
static Value Double(double value) { return fl_value_new_float(value); }
static Value String(const char* value, size_t length) {