From: Debian BOINC Maintainers Date: Tue, 28 Aug 2012 03:05:07 +0000 (+0000) Subject: _freebsd_build X-Git-Tag: archive/raspbian/8.00_svn3363-4+rpi1~1^2^2^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dee4724476f8fa8f95ede703ad46e8eedb2392a7;p=boinc-app-seti.git _freebsd_build =================================================================== Gbp-Pq: Name 101_freebsd_build.patch --- diff --git a/client/vector/analyzeFuncs_sse.cpp b/client/vector/analyzeFuncs_sse.cpp index f07d455..a6d5cd7 100644 --- a/client/vector/analyzeFuncs_sse.cpp +++ b/client/vector/analyzeFuncs_sse.cpp @@ -32,6 +32,7 @@ // This file is empty is __i386__ is not defined #include "sah_config.h" #include +#include #if defined(__i386__) || defined(__x86_64__) || defined(USE_SSE) @@ -790,7 +791,7 @@ inline double fastfrac(double val, double roundVal) { #elif defined(_WIN64) || defined(SUPPORTS_ATTRIB_OPT) val -= ((val + roundVal) - roundVal); // TODO: ADD CHECK THAT THIS WORKS #else - val -= floor(val + 0.5); + val -= std::floor(val + 0.5); #endif return val; }