[gs-commits] mupdf 1.16.1.epub-prerelease-30 Fix hypotf problems with

[email protected] (Robin Watts) Thu, 2 Jan 2020 11:19:11 +0000 (UTC)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
commit 6764158c09cd0c1d09f27f129f96e9f256b19cab
Author: Robin Watts <[email protected]>
Date:   Wed Jan 1 14:57:42 2020 +0000

    Fix hypotf problems with MSVS 2019.

diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h
index 8552c3b..0116538 100644
--- a/include/mupdf/fitz/system.h
+++ b/include/mupdf/fitz/system.h
@@ -132,7 +132,9 @@ static __inline int signbit(double x)
 #define isinf(x) (!_finite(x))
 #endif
 
+#if _MSC_VER <= 1920 /* MSVC 2019 */
 #define hypotf _hypotf
+#endif
 #define atoll _atoi64
 
 #endif

http://git.ghostscript.com/?p=mupdf.git;a=commit;h=6764158c09cd0c1d09f27f129f96e9f256b19cab

--
MuPDF library
Artifex Software, Inc.