Define STBTT_DEF extern when STBTT not compiled with ImGui.

This commit is contained in:
Branimir Karadžić 2015-05-27 16:12:52 -07:00
parent 938528e5ee
commit cd9244ab15
1 changed files with 2 additions and 0 deletions

View File

@ -474,6 +474,8 @@ namespace IMGUI_STB_NAMESPACE
#ifndef IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION
#define STBTT_STATIC
#define STB_TRUETYPE_IMPLEMENTATION
#else
#define STBTT_DEF extern
#endif
#include "stb_truetype.h"