Fixed missing alignment on MinGW + GCC

This commit is contained in:
smx-smx
2017-08-26 21:04:06 +02:00
parent 208c1d92f2
commit 02ec0a1948

View File

@@ -8,7 +8,7 @@
#ifndef cglm_types_h
#define cglm_types_h
#if defined(_WIN32)
#if defined(_MSC_VER)
# define CGLM_ALIGN(X) /* __declspec(align(X)) */
#else
# define CGLM_ALIGN(X) __attribute((aligned(X)))