mirror of
https://github.com/ocornut/imgui.git
synced 2024-12-18 16:58:53 +08:00
Define STBTT_DEF extern when STBTT not compiled with ImGui.
This commit is contained in:
parent
938528e5ee
commit
cd9244ab15
@ -474,6 +474,8 @@ namespace IMGUI_STB_NAMESPACE
|
|||||||
#ifndef IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION
|
#ifndef IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION
|
||||||
#define STBTT_STATIC
|
#define STBTT_STATIC
|
||||||
#define STB_TRUETYPE_IMPLEMENTATION
|
#define STB_TRUETYPE_IMPLEMENTATION
|
||||||
|
#else
|
||||||
|
#define STBTT_DEF extern
|
||||||
#endif
|
#endif
|
||||||
#include "stb_truetype.h"
|
#include "stb_truetype.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user