From: Thomas Debesse Date: Wed, 30 Aug 2017 22:30:44 +0000 (+0000) Subject: vector: do not redefine lrint on FreeBSD X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2f77dc719212fe5906402b018b305cbdd6260181;p=xonotic%2Fnetradiant.git vector: do not redefine lrint on FreeBSD --- diff --git a/libs/math/vector.h b/libs/math/vector.h index 9bb3ef51..c2b45b50 100644 --- a/libs/math/vector.h +++ b/libs/math/vector.h @@ -46,16 +46,6 @@ inline __int64 llrint( double f ){ return static_cast<__int64>( f + 0.5 ); } -#elif GDEF_OS_BSD - -inline long lrint( double f ){ - return static_cast( f + 0.5 ); -} - -inline long long llrint( double f ){ - return static_cast( f + 0.5 ); -} - #elif GDEF_COMPILER_GNU // lrint is part of ISO C99