From 5f60ff6d78ca52adcd188a64021725fcff786584 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 30 Oct 2014 23:38:44 +0100 Subject: [PATCH] Fixed build --- glm/detail/setup.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index 4c24a300..75e824b8 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -726,13 +726,13 @@ #if GLM_COMPILER & GLM_COMPILER_VC # define GLM_DEPRECATED __declspec(deprecated) # define GLM_ALIGN(x) __declspec(align(x)) -# define GLM_ALIGNED_STRUCT(x) __declspec(align(x)) struct +# define GLM_ALIGNED_STRUCT(x) struct __declspec(align(x)) # define GLM_RESTRICT __declspec(restrict) # define GLM_RESTRICT_VAR __restrict #elif GLM_COMPILER & GLM_COMPILER_INTEL # define GLM_DEPRECATED # define GLM_ALIGN(x) __declspec(align(x)) -# define GLM_ALIGNED_STRUCT(x) __declspec(align(x)) struct +# define GLM_ALIGNED_STRUCT(x) struct __declspec(align(x)) # define GLM_RESTRICT # define GLM_RESTRICT_VAR __restrict #elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_CLANG | GLM_COMPILER_CUDA)