Hello Matthew,
On Wed, 12 Feb 2014 09:11:00 +1100, Matthew Petroff <
mat...@mpetroff.net>
wrote:
I tried, but it failed to apply...
[terry@localhost libpano13]$ hg import ../libpano-msvc-patch.diff
applying ../libpano-msvc-patch.diff
patching file math.c
Hunk #1 FAILED at 50
1 out of 1 hunks FAILED -- saving rejects to file math.c.rej
abort: patch failed to apply
The content of math.c.rej,
--- math.c
+++ math.c
@@ -51,8 +51,8 @@
//------------------------- Some auxilliary math functions
--------------------------------------------
-// atanh is not available on MSVC. Use the atanh routine from gsl
-#ifdef _MSC_VER
+// atanh is not available on MSVC until Visual Studio 2012. Use the atanh
routine from gsl.
+#if _MSC_VER < 1700
#define GSL_DBL_EPSILON 2.2204460492503131e-16
#define GSL_SQRT_DBL_EPSILON 1.4901161193847656e-08
I can't see any other changes in these lines of math.c in my working copy
that would affect the patch.
Cheers,
--
Regards,
Terry Duell