Merge pull request #9 from Mtgxyz/master
malloc.h is linux specific and should NOT be used.
This commit is contained in:
commit
1a6b2b5bd4
@ -2,6 +2,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <sstream>
|
||||
|
||||
|
@ -551,7 +551,7 @@ enum STBVorbisError
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#if !(defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh))
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#else // STB_VORBIS_NO_CRT
|
||||
#define NULL 0
|
||||
|
Loading…
Reference in New Issue
Block a user