Skip to content
Myr

Merge branch 'working'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sean Barrett · committed by Sean Barrett · parents a2f50a1, 14e6a98 · Browse files · 1 file+16 added−14 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+16 added−14 removed

  • other:+16 added−14 removed

1 file+16 added−14 removed

modified:stb_vorbis.c+16 added-14 removed
547 unmodified lines
548#include <stdio.h>549#endif550551#ifndef STB_VORBIS_NO_CRT552#include <stdlib.h>553#include <string.h>554#include <assert.h>555#include <math.h>556#if !(defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh))557#include <malloc.h>558#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)559#include <alloca.h>560#endif561#endif552 #include <stdlib.h>553 #include <string.h>554 #include <assert.h>555 #include <math.h>556557 // find definition of alloca if it's not in stdlib.h:558 #ifdef _MSC_VER559 #include <malloc.h>560 #endif561 #if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)562 #include <alloca.h>563 #endif564#else // STB_VORBIS_NO_CRT563#define NULL 0564#define malloc(s) 0565#define free(s) ((void) 0)566#define realloc(s) 0565 #define NULL 0566 #define malloc(s) 0567 #define free(s) ((void) 0)568 #define realloc(s) 0569#endif // STB_VORBIS_NO_CRT570571#include <limits.h>572
4827 unmodified lines