1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/biology/avida/files/patch-source-main-cTaskLib.cc
Dmitry Marakasov c3fd0b3811 - Update to 2.8.1
PR:		128057
Submitted by:	Christian Sturm <athaba at inode dot at>
2008-10-23 14:13:37 +00:00

13 lines
396 B
C++

--- source/main/cTaskLib.cc.orig 2007-09-05 23:53:07.000000000 +0400
+++ source/main/cTaskLib.cc 2008-10-13 19:32:10.000000000 +0400
@@ -41,8 +41,8 @@
// Various workarounds for Visual Studio shortcomings
#if AVIDA_PLATFORM(WINDOWS)
# define llabs(x) _abs64(x)
-# define log2(x) (log(x)/log(2.0))
#endif
+# define log2(x) (log(x)/log(2.0))
static const double dCastPrecision = 100000.0;