From 7a37a63b8ecfdb005b8650ea59064d216e1a230c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 8 Sep 2012 19:24:07 -0700 Subject: [PATCH] Workaround MinGW __declspec(align(x)) bug --- config.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.h.in b/config.h.in index 2254adff..b0729b09 100644 --- a/config.h.in +++ b/config.h.in @@ -6,6 +6,9 @@ #define ALSOFT_VERSION "${LIB_VERSION}" #define ALIGN(x) ${ALIGN_DECL} +#ifdef __MINGW32__ +#define align(x) aligned(x) +#endif /* Define if we have the C11 aligned_alloc function */ #cmakedefine HAVE_ALIGNED_ALLOC -- 2.11.4.GIT