[xiph-commits] r10776 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Tue Jan 31 14:28:28 PST 2006


Author: jm
Date: 2006-01-31 14:28:26 -0800 (Tue, 31 Jan 2006)
New Revision: 10776

Modified:
   trunk/speex/libspeex/stack_alloc.h
Log:
alloca patch by Aron Rosenberg


Modified: trunk/speex/libspeex/stack_alloc.h
===================================================================
--- trunk/speex/libspeex/stack_alloc.h	2006-01-31 19:56:16 UTC (rev 10775)
+++ trunk/speex/libspeex/stack_alloc.h	2006-01-31 22:28:26 UTC (rev 10776)
@@ -36,8 +36,12 @@
 #define STACK_ALLOC_H
 
 #ifdef USE_ALLOCA
+#ifdef WIN32
+#include <malloc.h>
+#else
 #include <alloca.h>
 #endif
+#endif
 
 /**
  * @def ALIGN(stack, size)



More information about the commits mailing list