alloca patch by Aron Rosenberg
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 31 Jan 2006 22:28:26 +0000 (22:28 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 31 Jan 2006 22:28:26 +0000 (22:28 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@10776 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/stack_alloc.h

index 39f5611..6270d12 100644 (file)
 #define STACK_ALLOC_H
 
 #ifdef USE_ALLOCA
+#ifdef WIN32
+#include <malloc.h>
+#else
 #include <alloca.h>
 #endif
+#endif
 
 /**
  * @def ALIGN(stack, size)