Browse Source

added import in order for alloca to work on macos (#1710)

pull/1711/head
Saikyun 4 years ago
committed by GitHub
parent
commit
fd663024ea
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/external/stb_vorbis.h

+ 1
- 1
src/external/stb_vorbis.h View File

@ -570,7 +570,7 @@ enum STBVorbisError
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <malloc.h>
#endif
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) || defined(__APPLE__)
#include <alloca.h>
#endif
#else // STB_VORBIS_NO_CRT

Loading…
Cancel
Save