mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-24 22:04:28 +08:00
Provide macro to explicitly disable alloca
This commit is contained in:
parent
bcce88c99e
commit
81044ec13d
@ -762,7 +762,7 @@ void swap(scoped_array<T>& a, scoped_array<T>& b) {
|
||||
* This is accomplished through alloca if this later is supported and if the required number of bytes
|
||||
* is below EIGEN_STACK_ALLOCATION_LIMIT.
|
||||
*/
|
||||
#ifdef EIGEN_ALLOCA
|
||||
#if defined(EIGEN_ALLOCA) && !defined(EIGEN_NO_ALLOCA)
|
||||
|
||||
#if EIGEN_DEFAULT_ALIGN_BYTES > 0
|
||||
// We always manually re-align the result of EIGEN_ALLOCA.
|
||||
|
Loading…
x
Reference in New Issue
Block a user