From f38e0b520f99a501b71172c3a3181c9ab6ebdd79 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Sun, 28 Dec 2025 19:35:45 +0100 Subject: sokol_imgui.h: fix a define-collision with X11 headers ('Status') --- util/sokol_imgui.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/util/sokol_imgui.h b/util/sokol_imgui.h index 54d4dff4..2f3b3c32 100644 --- a/util/sokol_imgui.h +++ b/util/sokol_imgui.h @@ -621,6 +621,11 @@ inline void simgui_new_frame(const simgui_frame_desc_t& desc) { return simgui_ne // helper macros and constants #define _simgui_def(val, def) (((val) == 0) ? (def) : (val)) +// collisions with X11 headers +#if defined(Status) +#undef Status +#endif + typedef struct { ImVec2 disp_size; uint8_t _pad_8[8]; -- cgit v1.2.3