diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-12-28 19:35:45 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-12-28 19:35:45 +0100 |
| commit | f38e0b520f99a501b71172c3a3181c9ab6ebdd79 (patch) | |
| tree | 3d120dfce65f4e650bfa17eace29896449df6dbc | |
| parent | a34d6dcf3ae46b337777569acb5fc9550ba4b9bf (diff) | |
sokol_imgui.h: fix a define-collision with X11 headers ('Status')
| -rw-r--r-- | util/sokol_imgui.h | 5 |
1 files changed, 5 insertions, 0 deletions
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]; |