diff --git a/gfx/drivers_font_renderer/stb.c b/gfx/drivers_font_renderer/stb.c index 87d3ff4748..e5a1811367 100644 --- a/gfx/drivers_font_renderer/stb.c +++ b/gfx/drivers_font_renderer/stb.c @@ -27,6 +27,7 @@ #define STB_TRUETYPE_IMPLEMENTATION #define STB_RECT_PACK_IMPLEMENTATION #define STBTT_STATIC +#define STBRP_STATIC #define static static INLINE #include "../../deps/stb/stb_rect_pack.h" #include "../../deps/stb/stb_truetype.h" diff --git a/gfx/drivers_font_renderer/stb_unicode.c b/gfx/drivers_font_renderer/stb_unicode.c index 7f834f5cc4..95e91500de 100644 --- a/gfx/drivers_font_renderer/stb_unicode.c +++ b/gfx/drivers_font_renderer/stb_unicode.c @@ -26,7 +26,7 @@ #ifndef STB_TRUETYPE_IMPLEMENTATION #define STB_TRUETYPE_IMPLEMENTATION #define STB_RECT_PACK_IMPLEMENTATION -#define STBRP_STATIC +#define STBTT_STATIC #define STBRP_STATIC #define static static INLINE #include "../../deps/stb/stb_rect_pack.h"