Browse Source

Fixed build with compiler that doesn't support GLM_HAS_UNRESTRICTED_UNIONS

Christophe Riccio 9 years ago
parent
commit
c5f48da319
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/detail/func_common.inl

+ 1 - 1
glm/detail/func_common.inl

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