vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

commit dac4d7de3b95eecb1d879c83090ae284dc6febac
parent 7f5a3dad3dce6818d439861aac4e4865241dec9e
Author: Russ Cox <rsc@swtch.com>
Date:   Thu, 10 Jul 2008 09:57:51 -0400

libvx32: do not expect host to have <alloca.h>

Diffstat:
src/libvxc/include/stdlib.h | 2+-
src/vxa/vorbis/Makefrag | 3+--
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/libvxc/include/stdlib.h b/src/libvxc/include/stdlib.h @@ -2,7 +2,7 @@ #define STDLIB_H #include <stddef.h> - +#include <alloca.h> #define RAND_MAX 2147483646 // rand() returns values mod 2^31-1 diff --git a/src/vxa/vorbis/Makefrag b/src/vxa/vorbis/Makefrag @@ -1,7 +1,6 @@ VORBIS_CFLAGS := -Ivxa/vorbis -Ivxa/vorbis/libogg/include \ - -Ivxa/vorbis/libvorbis/include \ - -DHAVE_ALLOCA_H + -Ivxa/vorbis/libvorbis/include VORBIS_HCFLAGS := $(VORBIS_CFLAGS) #VORBIS_HCFLAGS := $(VORBIS_CFLAGS) -msse2 -mfpmath=sse