[Poppler-bugs] [Bug 88511] Fix builds with Visual Studio 2013

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 16 16:56:09 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88511

Adrian Johnson <ajohnson at redneon.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Fix builds with Visual      |Fix builds with Visual
                   |Studio 2003                 |Studio 2013

--- Comment #4 from Adrian Johnson <ajohnson at redneon.com> ---
> -#if defined(_MSC_VER)
> -#define fmax(a, b) std::max(a, b)
> -#define fmin(a, b) std::min(a, b)
> -#endif

fmax was added in Visual Studio 2012

http://msdn.microsoft.com/en-us/library/hh308439%28v=vs.110%29.aspx

so we would need to keep this when MSC_VER < 1700.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150117/6cb6e39b/attachment.html>


More information about the Poppler-bugs mailing list