]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
vector: do not redefine lrint on FreeBSD
authorThomas Debesse <dev@illwieckz.net>
Wed, 30 Aug 2017 22:30:44 +0000 (22:30 +0000)
committerThomas Debesse <dev@illwieckz.net>
Sun, 2 Jun 2019 01:16:55 +0000 (03:16 +0200)
libs/math/vector.h

index 9bb3ef5111a0bdbb712f7453f13b26b4896784a1..c2b45b501ffe1d7e592e1865515e4b091264fc04 100644 (file)
@@ -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<long>( f + 0.5 );
-}
-
-inline long long llrint( double f ){
-       return static_cast<long long>( f + 0.5 );
-}
-
 #elif GDEF_COMPILER_GNU
 
 // lrint is part of ISO C99