mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-09 12:36:23 +02:00
ext/stb_vorbis: alloca() is in stdlib.h on BSDs as well
ext/stb_vorbis/stb_vorbis.c:19:10: fatal error: 'alloca.h' file not found
This commit is contained in:
1 parent
babb5036e6
commit
7af88bf50e
1 file changed
+2
-1
@@ -15,7 +15,8 @@
|
||||
#pragma warning (disable:4996)
|
||||
#pragma warning (disable:4244)
|
||||
#include <malloc.h>
|
||||
#elif !defined(__SYMBIAN32__)
|
||||
#elif !defined(__SYMBIAN32__) && !defined(__Bitrig__) && !defined(__DragonFly__) && \
|
||||
!defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user