Sfoglia il codice sorgente

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

pull/1711/head
Saikyun 4 anni fa
committed by GitHub
parent
commit
fd663024ea
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/external/stb_vorbis.h

+ 1
- 1
src/external/stb_vorbis.h Vedi 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

Caricamento…
Annulla
Salva