]> granicus.if.org Git - php/commitdiff
fix acosh and asinh on win64 with vs2013+
authorAnatol Belski <ab@php.net>
Mon, 1 Sep 2014 12:21:53 +0000 (14:21 +0200)
committerAnatol Belski <ab@php.net>
Mon, 1 Sep 2014 12:21:53 +0000 (14:21 +0200)
win32/build/confutils.js

index d8155bbaa80ff0cedcf57d991cfee535062c59a0..d6a6e20ecdda158f5ef6a5e9febe687739d7247d 100644 (file)
@@ -1887,6 +1887,13 @@ function generate_config_h()
                \r
                outfile.WriteLine("#define " + keys[i] + " " + pieces);\r
        }\r
+\r
+       if (VCVERS >= 1800) {\r
+               outfile.WriteLine("");\r
+               outfile.WriteLine("#define HAVE_ACOSH 1");\r
+               outfile.WriteLine("#define HAVE_ASINH 1");\r
+       }\r
+\r
        \r
        outfile.Close();\r
 }\r