aboutsummaryrefslogtreecommitdiffstats
path: root/code/libspeex
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-09-14 16:41:48 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-09-14 16:41:48 +0000
commit0f7858ec1270f03cee3a37e84e7273a7ac45ac9f (patch)
treeaff255b2aec78dc807412503f939e104990de7a4 /code/libspeex
parent99d5fd4905322c05c12f8395fa32c0cc9f753fc3 (diff)
downloadioquake3-aero-0f7858ec1270f03cee3a37e84e7273a7ac45ac9f.tar.gz
ioquake3-aero-0f7858ec1270f03cee3a37e84e7273a7ac45ac9f.zip
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
Diffstat (limited to 'code/libspeex')
-rw-r--r--code/libspeex/config.h3
1 files changed, 3 insertions, 0 deletions
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 */