Browse Source

More use of GLM_HAS_ALIGNED_TYPE

Christophe Riccio 9 years ago
parent
commit
ad1ae45066
2 changed files with 2 additions and 2 deletions
  1. 1 1
      glm/detail/type_vec4.inl
  2. 1 1
      glm/gtc/quaternion.inl

+ 1 - 1
glm/detail/type_vec4.inl

@@ -970,6 +970,6 @@ namespace detail
 	}
 }//namespace glm
 
-#if GLM_ARCH != GLM_ARCH_PURE && GLM_HAS_UNRESTRICTED_UNIONS
+#if GLM_ARCH != GLM_ARCH_PURE && GLM_HAS_ALIGNED_TYPE
 #	include "type_vec4_simd.inl"
 #endif

+ 1 - 1
glm/gtc/quaternion.inl

@@ -795,7 +795,7 @@ namespace detail
 	}
 }//namespace glm
 
-#if GLM_ARCH != GLM_ARCH_PURE && GLM_HAS_UNRESTRICTED_UNIONS
+#if GLM_ARCH != GLM_ARCH_PURE && GLM_HAS_ALIGNED_TYPE
 #	include "quaternion_simd.inl"
 #endif