From 2f77dc719212fe5906402b018b305cbdd6260181 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Wed, 30 Aug 2017 22:30:44 +0000 Subject: [PATCH] vector: do not redefine lrint on FreeBSD --- libs/math/vector.h | 10 ---------- 1 file changed, 10 deletions(-) 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 -- 2.39.2