Updated Doxygen comments, removed an incorrectly placed LGPL header (we own
[opus.git] / libcelt / stack_alloc.h
index 5264e66..1e643c6 100644 (file)
 #define VARDECL(var) var
 #define ALLOC(var, size, type) var = alloca(sizeof(type)*(size))
 #else
-#define VARDECL(var) var
-#define ALLOC(var, size, type) var = PUSH(stack, size, type)
+/*#define VARDECL(var) var
+#define ALLOC(var, size, type) var = PUSH(stack, size, type)*/
+#error scratchpad not yet supported, you need to define either VAR_ARRAYS or USE_ALLOCA
 #endif