diff --git a/util/sokol_imgui.h b/util/sokol_imgui.h index 7b71d90e6..1a7c650b2 100644 --- a/util/sokol_imgui.h +++ b/util/sokol_imgui.h @@ -574,7 +574,7 @@ inline void simgui_create_fonts_texture(const simgui_font_tex_desc_t& desc) { re #error "Please include imgui.h before the sokol_imgui.h implementation" #endif #else - #if !defined(CIMGUI_INCLUDED) + #if !defined(CIMGUI_API) #error "Please include cimgui.h before the sokol_imgui.h implementation" #endif #endif