Fix bug in aligned_free with windows CE

(transplanted from 25bcbfb10cb099a448cec0def453af6ba7810d72
)
This commit is contained in:
Gael Guennebaud 2013-02-13 19:09:31 +01:00
parent fcc46f49ca
commit 394784c999

View File

@ -227,7 +227,7 @@ inline void aligned_free(void *ptr)
std::free(ptr); std::free(ptr);
#elif EIGEN_HAS_MM_MALLOC #elif EIGEN_HAS_MM_MALLOC
_mm_free(ptr); _mm_free(ptr);
#elif defined(_MSC_VER) #elif defined(_MSC_VER) && (!defined(_WIN32_WCE))
_aligned_free(ptr); _aligned_free(ptr);
#else #else
handmade_aligned_free(ptr); handmade_aligned_free(ptr);