Relax the condition to not only work on Android.

This commit is contained in:
Rasmus Munk Larsen 2018-07-13 11:24:07 -07:00
parent 02a9443db9
commit 4a3952fd55

View File

@ -593,7 +593,7 @@ template<typename T> struct smart_memmove_helper<T,false> {
// the compiler still emits bad code because stack allocation checks use "<=".
// TODO: Eliminate after https://bugs.llvm.org/show_bug.cgi?id=23772
// is fixed.
#if defined(__clang__) && defined(__ANDROID__) && defined(__thumb__)
#if defined(__clang__) && defined(__thumb__)
#undef EIGEN_ALLOCA
#endif