summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJukka Ojanen <jukka.ojanen@linkotec.net>2015-07-06 11:51:59 +0300
committerJukka Ojanen <jukka.ojanen@linkotec.net>2015-07-06 11:51:59 +0300
commitb481f5980e000a4ff5e123e8165e52b6dea6ea54 (patch)
tree6e34839cda6dcf006c9cf1b4ecfd3412a3261052
parent8f0c8c7f7243a1255cfcc4d63a169c21a61200fc (diff)
downloadffts-b481f5980e000a4ff5e123e8165e52b6dea6ea54.zip
ffts-b481f5980e000a4ff5e123e8165e52b6dea6ea54.tar.gz
Fix ffts_aligned_free MinGW crash
-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 18b3bd5..2d1dbd3 100644
--- a/src/ffts_internal.h
+++ b/src/ffts_internal.h
@@ -194,7 +194,7 @@ static FFTS_INLINE void *ffts_aligned_malloc(size_t size)
static FFTS_INLINE void ffts_aligned_free(void *p)
{
-#if defined(_MSC_VER)
+#if defined(_WIN32)
_aligned_free(p);
#else
free(p);
OpenPOWER on IntegriCloud