com php-src: Use log1p from the CRT: win32/build/confutils.js

From: Date: Fri, 17 Nov 2017 20:22:51 +0000
Subject: com php-src: Use log1p from the CRT: win32/build/confutils.js
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100291@lists.php.net to get a copy of this message
Commit: ad38168bdd02f8e30c852075e5250db8b9870e50 Author: Anatol Belski <ab@php.net> Fri, 17 Nov 2017 21:22:51 +0100 Parents: c7bf314b65bc1c698c2b6e04ce9f1df807e58976 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ad38168bdd02f8e30c852075e5250db8b9870e50 Log: Use log1p from the CRT Changed paths: M win32/build/confutils.js Diff: diff --git a/win32/build/confutils.js b/win32/build/confutils.js index ae26fa2..b7c7075 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -2226,11 +2226,16 @@ function generate_config_h() outfile.WriteLine("#define " + keys[i] + " " + pieces); } - if (VS_TOOLSET && VCVERS >= 1800) { - outfile.WriteLine(""); - outfile.WriteLine("#define HAVE_ACOSH 1"); - outfile.WriteLine("#define HAVE_ASINH 1"); - outfile.WriteLine("#define HAVE_ATANH 1"); + if (VS_TOOLSET) { + if (VCVERS >= 1800) { + outfile.WriteLine(""); + outfile.WriteLine("#define HAVE_ACOSH 1"); + outfile.WriteLine("#define HAVE_ASINH 1"); + outfile.WriteLine("#define HAVE_ATANH 1"); + } + if (VCVERS >= 1900) { + outfile..WriteLine("#define HAVE_LOG1P 1"); + } }

« previous php.cvs (#100291) next »