mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +00:00
Merge pull request #8 from smx-smx/master
Fixed missing alignment on MinGW + GCC
This commit is contained in:
@@ -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)))
|
||||
|
Reference in New Issue
Block a user