diff --git a/imgui.cpp b/imgui.cpp index ea70d59..3b1e4dc 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -474,6 +474,8 @@ #ifndef IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION #define STBTT_STATIC #define STB_TRUETYPE_IMPLEMENTATION +#else +#define STBTT_DEF extern #endif #include "stb_truetype.h"