Merge branch 'working'

master
Sean Barrett ago%!(EXTRA string=9 years)
commit f4d348de8e
  1. 6
      stb_vorbis.c

@ -553,12 +553,14 @@ enum STBVorbisError
#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))
// find definition of alloca if it's not in stdlib.h:
#ifdef _MSC_VER
#include <malloc.h> #include <malloc.h>
#endif
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) #if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)
#include <alloca.h> #include <alloca.h>
#endif #endif
#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

Loading…
Cancel
Save