summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJukka Ojanen <jukka.ojanen@linkotec.net>2015-03-19 13:38:40 +0200
committerJukka Ojanen <jukka.ojanen@linkotec.net>2015-03-19 13:38:40 +0200
commit2014019a6760e712a019ba639e76aaa8729d8843 (patch)
tree0e76eca5c19aefc0e6d0d9c8d465e87ae59d5964
parentd8cbe74acac7a867777f407309421b8065705ebf (diff)
downloadffts-2014019a6760e712a019ba639e76aaa8729d8843.zip
ffts-2014019a6760e712a019ba639e76aaa8729d8843.tar.gz
To support building for Windows with MinGW, don't assume MSVC to be the compiler
-rw-r--r--src/ffts_internal.h2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud