msvc: disable alignment in typedef (for now)

Compiler Error C2719: The align __declspec modifier is not permitted on
function parameters.

ref #4
This commit is contained in:
Recep Aslantas
2016-09-28 17:31:10 +03:00
parent 2cb9f7f334
commit 88fe54b200

View File

@@ -12,7 +12,7 @@
#if defined(_WIN32)
# define CGLM_INLINE __forceinline
# define CGLM_ALIGN(X) __declspec(align(X))
# define CGLM_ALIGN(X) /* __declspec(align(X)) */
#else
# define CGLM_INLINE static inline __attribute((always_inline))
# define CGLM_ALIGN(X) __attribute((aligned(X)))