<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Fix builds with Visual Studio 2013"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88511#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Fix builds with Visual Studio 2013"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88511">bug 88511</a>
from <span class="vcard"><a class="email" href="mailto:szekerest@gmail.com" title="Tamas Szekeres <szekerest@gmail.com>"> <span class="fn">Tamas Szekeres</span></a>
</span></b>
<pre>(In reply to Adrian Johnson from <a href="show_bug.cgi?id=88511#c6">comment #6</a>)
<span class="quote">> > -#if defined(_MSC_VER)
> > +#if defined(_MSC_VER) && (_MSC_VER <= 1700)
>
> According to
>
> <a href="http://stackoverflow.com/questions/70013/how-to-detect-if-im-compiling-code">http://stackoverflow.com/questions/70013/how-to-detect-if-im-compiling-code</a>-
> with-visual-studio-2008
>
> 1700 is Visual Studio 2012.
>
> According to
>
> <a href="http://msdn.microsoft.com/en-us/library/hh308439%28v=vs.110%29.aspx">http://msdn.microsoft.com/en-us/library/hh308439%28v=vs.110%29.aspx</a>
>
> fmax is available in 2012 and 2013. Should that _MSC_VER check be for < 1700?</span >
That might be working, though it would require to modify further files (in
which fmax and fmin are used) by including the appropriate header to be able to
compile with VS2012.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>