From 0f7858ec1270f03cee3a37e84e7273a7ac45ac9f Mon Sep 17 00:00:00 2001 From: icculus Date: Mon, 14 Sep 2009 16:41:48 +0000 Subject: Fixed use of alloca() in libspeex on Solaris, I think. Fixes Bugzilla #3938. git-svn-id: svn://svn.icculus.org/quake3/trunk@1589 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/libspeex/config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/libspeex/config.h b/code/libspeex/config.h index abd35f0..e6657fc 100644 --- a/code/libspeex/config.h +++ b/code/libspeex/config.h @@ -6,6 +6,9 @@ // SSE is enabled. #ifndef _USE_SSE # define USE_ALLOCA +# if defined(__sun) /* Solaris needs this for alloca(). */ +# define HAVE_ALLOCA_H +# endif #endif /* Default to floating point */ -- cgit v1.2.3