From 2014019a6760e712a019ba639e76aaa8729d8843 Mon Sep 17 00:00:00 2001 From: Jukka Ojanen Date: Thu, 19 Mar 2015 13:38:40 +0200 Subject: To support building for Windows with MinGW, don't assume MSVC to be the compiler --- src/ffts_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ffts_internal.h b/src/ffts_internal.h index 3e788f8..f992811 100644 --- a/src/ffts_internal.h +++ b/src/ffts_internal.h @@ -184,7 +184,7 @@ struct _ffts_plan_t { static FFTS_INLINE void *ffts_aligned_malloc(size_t size) { -#if defined(_MSC_VER) +#if defined(_WIN32) return _aligned_malloc(size, 32); #else return valloc(size); -- cgit v1.1