mirror of
https://github.com/recp/cglm.git
synced 2026-11-19 02:23:10 -06:00
Fixed missing alignment on MinGW + GCC
This commit is contained in:
1 parent
208c1d92f2
commit
02ec0a1948
1 file changed
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
#ifndef cglm_types_h
|
#ifndef cglm_types_h
|
||||||
#define cglm_types_h
|
#define cglm_types_h
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_MSC_VER)
|
||||||
# define CGLM_ALIGN(X) /* __declspec(align(X)) */
|
# define CGLM_ALIGN(X) /* __declspec(align(X)) */
|
||||||
#else
|
#else
|
||||||
# define CGLM_ALIGN(X) __attribute((aligned(X)))
|
# define CGLM_ALIGN(X) __attribute((aligned(X)))
|
||||||
|
|||||||
Reference in new issue
Block a user