提交 f4d348de 编写于 作者: S Sean Barrett

Merge branch 'working'

...@@ -549,21 +549,23 @@ enum STBVorbisError ...@@ -549,21 +549,23 @@ enum STBVorbisError
#endif #endif
#ifndef STB_VORBIS_NO_CRT #ifndef STB_VORBIS_NO_CRT
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include <math.h> #include <math.h>
#if !(defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh))
#include <malloc.h> // find definition of alloca if it's not in stdlib.h:
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) #ifdef _MSC_VER
#include <alloca.h> #include <malloc.h>
#endif #endif
#endif #if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)
#include <alloca.h>
#endif
#else // STB_VORBIS_NO_CRT #else // STB_VORBIS_NO_CRT
#define NULL 0 #define NULL 0
#define malloc(s) 0 #define malloc(s) 0
#define free(s) ((void) 0) #define free(s) ((void) 0)
#define realloc(s) 0 #define realloc(s) 0
#endif // STB_VORBIS_NO_CRT #endif // STB_VORBIS_NO_CRT
#include <limits.h> #include <limits.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册