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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 17 04:42:00 PST 2015


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

--- Comment #6 from Adrian Johnson <ajohnson at redneon.com> ---
> -#if defined(_MSC_VER)
> +#if defined(_MSC_VER) && (_MSC_VER <= 1700)

According to

http://stackoverflow.com/questions/70013/how-to-detect-if-im-compiling-code-with-visual-studio-2008

1700 is Visual Studio 2012. 

According to 

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

fmax is available in 2012 and 2013. Should that _MSC_VER check be for < 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/6a4bb35f/attachment.html>


More information about the Poppler-bugs mailing list