<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 9, 2014 at 9:06 AM, Alp Toker <span dir="ltr"><<a href="mailto:alp@nuanti.com" target="_blank">alp@nuanti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=""><br>
On 09/07/2014 18:48, David Majnemer wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I don't think that MSVC compat is the right predicate here, this has more to do with targeting the msvc environment.<br>
</blockquote>
<br></div>
We're planning go over these soon and switch them to a more appropriate flag like GCCCompat, which will generally be set to !MSVCCompat -- so Ehsan's approach is fine for now and easy to move to the new scheme when needed.</blockquote>
<div><br></div><div>I agree, I think we should be able to separate which compiler we're pretending to be from the ABI we're targeting.</div><div><br></div><div>So, checking MSVCCompat for now looks good to me.  It's consistent with our other checks in this file and we can switch them all en masse in the future.</div>
<div><br></div><div>I always want to define some target things like __LP64__, __SSE3__, and __x86_64__, though, since they make our *mmintrin.h headers work.</div></div></div></div>