Merge pull request #8 from smx-smx/master

Fixed missing alignment on MinGW + GCC
This commit is contained in:
Recep Aslantas
2017-08-26 23:42:09 +03:00
committed by GitHub

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)))