aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
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