瀏覽代碼

Fixed build with compiler that doesn't support GLM_HAS_UNRESTRICTED_UNIONS

Christophe Riccio 9 年之前
父節點
當前提交
c5f48da319
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      glm/detail/func_common.inl

+ 1 - 1
glm/detail/func_common.inl

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