diff --git a/glm/gtx/integer.inl b/glm/gtx/integer.inl index 2f2535b4..14e6afa9 100644 --- a/glm/gtx/integer.inl +++ b/glm/gtx/integer.inl @@ -60,10 +60,8 @@ namespace _detail template GLM_FUNC_QUALIFIER T operator() (T const & Value) const { -#if(GLM_COMPILER & GLM_COMPILER_VC) +#if(GLM_COMPILER & (GLM_COMPILER_VC | GLM_COMPILER_GCC)) return Value <= T(1) ? T(0) : T(32) - nlz(Value - T(1)); -#elif(GLM_COMPILER & GLM_COMPILER_GCC) - return Value <= T(1) ? T(0) : nlz(Value - T(1)) + 1; #else return T(32) - nlz(Value - T(1)); #endif