From 88fe54b20085d22d323177c05f04c470f367b5d0 Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Wed, 28 Sep 2016 17:31:10 +0300 Subject: [PATCH] msvc: disable alignment in typedef (for now) Compiler Error C2719: The align __declspec modifier is not permitted on function parameters. ref #4 --- include/cglm-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cglm-common.h b/include/cglm-common.h index 02f7997..8b5e909 100644 --- a/include/cglm-common.h +++ b/include/cglm-common.h @@ -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)))