|
@@ -5685,10 +5685,12 @@ template<typename T> struct nk_alignof{struct Big {T x; char c;}; enum {
|
|
|
#define STB_TRUETYPE_IMPLEMENTATION
|
|
|
#endif
|
|
|
|
|
|
+#ifndef STBTT_malloc
|
|
|
static nk_handle fictional_handle = {0};
|
|
|
|
|
|
#define STBTT_malloc(x,u) nk_malloc( fictional_handle, 0, x )
|
|
|
#define STBTT_free(x,u) nk_mfree( fictional_handle , x)
|
|
|
+#endif
|
|
|
|
|
|
#endif /* NK_NUKLEAR_H_ */
|
|
|
|