[Speex-dev] Simple fix for Win32 using USE_ALLOCA

Aron Rosenberg aron at sightspeed.com
Tue Jan 31 11:46:39 PST 2006


In speex_alloc.h


The following code

#ifdef USE_ALLOCA
#include <alloca.h>
#endif


should be:

#ifdef USE_ALLOCA
#ifdef WIN32
#include <malloc.h>
#else
#include <alloca.h>
#endif
#endif

for visual studio at least. Not sure about mingw

Aron Rosenberg
www.sightspeed.com


More information about the Speex-dev mailing list