mirror of
https://github.com/recp/cglm.git
synced 2026-11-19 18:33:09 -06:00
msvc bug: dont align types due to "ARM32 = C2719: formal parameter with requested alignment of 16 won't be aligned." on ARM32/MSVC
until a good solution.
This commit is contained in:
1 parent
f50a7a7d00
commit
87350f809b
1 file changed
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
/* do not use alignment for older visual studio versions */
|
/* do not use alignment for older visual studio versions */
|
||||||
# if _MSC_VER < 1913 /* Visual Studio 2017 version 15.6 */
|
# if _MSC_VER < 1913 || _M_ARM /* Visual Studio 2017 version 15.6 */
|
||||||
# define CGLM_ALL_UNALIGNED
|
# define CGLM_ALL_UNALIGNED
|
||||||
# define CGLM_ALIGN(X) /* no alignment */
|
# define CGLM_ALIGN(X) /* no alignment */
|
||||||
# else
|
# else
|
||||||
|
|||||||
Reference in new issue
Block a user