On Tue, Aug 23, 2011 at 6:27 PM, Gisle Vanem wrote:
> lround() is missing in MS Visual-C's . Not available anywhere.
> Here is an easy patch:
Looks good; applied it.
--
Nick
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torprojec
lround() is missing in MS Visual-C's . Not available anywhere.
Here is an easy patch:
--- Git-latest\src\common\util.cSun Aug 14 13:48:49 2011
+++ src\common\util.c Tue Aug 23 21:15:25 2011
@@ -335,7 +335,11 @@
long
tor_lround(double d)
{
+#ifdef _MSC_VER
+ return (long)(d > 0 ? d + 0.