fix compilation

This commit is contained in:
Benoit Jacob 2010-04-17 11:29:25 -04:00
parent cc33a56140
commit ba5b5f6a4b

View File

@ -425,7 +425,7 @@ inline static Integer ei_first_aligned(const Scalar* array, Integer size)
* \endcode
*/
#if (defined __linux__)
#define ei_aligned_stack_alloc(SIZE) (SIZE<=EI GEN_STACK_ALLOCATION_LIMIT) \
#define ei_aligned_stack_alloc(SIZE) (SIZE<=EIGEN_STACK_ALLOCATION_LIMIT) \
? alloca(SIZE) \
: ei_aligned_malloc(SIZE)
#define ei_aligned_stack_free(PTR,SIZE) if(SIZE>EIGEN_STACK_ALLOCATION_LIMIT) ei_aligned_free(PTR)