Adds the stb_truetype Mac OSX fix from 64cfab5

Adds the stb_truetype Mac OSX fix from 64cfab5
Removes stb_image.c from the Visual Studio Project files since it got
deleted in previous commit
This commit is contained in:
AnnieL 2016-03-15 23:07:46 +00:00
parent 659f3d856a
commit 212fd4b340
5 changed files with 5 additions and 7 deletions

View file

@ -408,7 +408,9 @@ typedef char stbtt__check_size16[sizeof(stbtt_int16) == 2 ? 1 : -1];
// #define your own functions "STBTT_malloc" / "STBTT_free" to avoid malloc.h
#ifndef STBTT_malloc
#ifndef __APPLE__
#include <stdlib.h>
#endif
#define STBTT_malloc(x,u) ((void)(u),malloc(x))
#define STBTT_free(x,u) ((void)(u),free(x))
#endif