Mac OSX: fix includes & add missing functionality
This commit is contained in:
@@ -366,7 +366,9 @@ int main(int arg, char **argv)
|
||||
|
||||
// #define your own functions "STBTT_malloc" / "STBTT_free" to avoid malloc.h
|
||||
#ifndef STBTT_malloc
|
||||
#ifndef __APPLE__
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#define STBTT_malloc(x,u) malloc(x)
|
||||
#define STBTT_free(x,u) free(x)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user