Skip to content
Myr

Merge branch 'fix_alloca' of https://github.com/Clownacy/stb into 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 ce54bbc, d8df5e9 · Browse files · 1 file+2 added−1 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+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:stb_vorbis.c+2 added-1 removed
30 unmodified lines
31// Phillip Bennefall Rohit Thiago Goulart32// github:manxorist saga musix github:infatum33// Timur Gagiev Maxwell Koo Peter Waller34// github:audinowho Dougall Johnson David Reid35// github:Clownacy36//37// Partial history:38// 1.19 - 2020-02-05 - warnings39// 1.18 - 2020-02-02 - fix seek bugs; parse header comments; misc warnings etc.
537 unmodified lines
577 // find definition of alloca if it's not in stdlib.h:578 #if defined(_MSC_VER) || defined(__MINGW32__)579 #include <malloc.h>580 #endif580 #if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)581 #if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) || defined(__NEWLIB__)582 #include <alloca.h>583 #endif584#else // STB_VORBIS_NO_CRT585 #define NULL 0
4974 unmodified lines