Workaround MinGW __declspec(align(x)) bug
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user