Commit f7f0f14e authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Albert Astals Cid

VS 2013 has fmin() and fmax()

parent 07ac6860
Release 0.49.0
core:
* Fix memory leak in parametrized gouraudTriangleShadedFill
* Fix crash on broken files
* PDFDoc::setDocInfoStringEntry(): treat value consisting of just the unicode marker as an empty string
* VS 2013 has fmin() and fmax()
utils:
* pdfseparate: remove extra '%' in error message
build system:
* configure: Fix typo in disable nss help string
Release 0.48.0
core:
* Fix crashes and memory leaks in invalid files.
......
......@@ -15,6 +15,7 @@
//
// Copyright (C) 2014 Bogdan Cristea <cristeab@gmail.com>
// Copyright (C) 2014 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2016 Tor Lillqvist <tml@collabora.com>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
......@@ -186,7 +187,7 @@ char * strtok_r (char *s, const char *delim, char **save_ptr);
#define GCC_PRINTF_FORMAT(fmt_index, va_index)
#endif
#if defined(_MSC_VER)
#if defined(_MSC_VER) && _MSC_VER < 1800
#define fmax(a, b) std::max(a, b)
#define fmin(a, b) std::min(a, b)
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment