[quake3-commits] r1589 - trunk/code/libspeex

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Sep 14 12:41:48 EDT 2009


Author: icculus
Date: 2009-09-14 12:41:48 -0400 (Mon, 14 Sep 2009)
New Revision: 1589

Modified:
   trunk/code/libspeex/config.h
Log:
Fixed use of alloca() in libspeex on Solaris, I think.

 Fixes Bugzilla #3938.


Modified: trunk/code/libspeex/config.h
===================================================================
--- trunk/code/libspeex/config.h	2009-09-14 16:25:29 UTC (rev 1588)
+++ trunk/code/libspeex/config.h	2009-09-14 16:41:48 UTC (rev 1589)
@@ -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 */



More information about the quake3-commits mailing list