Workaround MinGW __declspec(align(x)) bug

This commit is contained in:
Chris Robinson
2012-09-08 19:24:07 -07:00
parent 2b5fdad2c8
commit 7a37a63b8e
+3
View File
@@ -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