<p dir="ltr">Maybe this should use the marketing name ("before msvc 2013")? People might be more familiar with that.</p>
<div class="gmail_quote">On Jun 15, 2016 2:34 AM, "Saleem Abdulrasool via cfe-commits" <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: compnerd<br>
Date: Tue Jun 14 19:28:15 2016<br>
New Revision: 272741<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=272741&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=272741&view=rev</a><br>
Log:<br>
Headers: tweak for MSVC[<1800]<br>
<br>
Earlier versions of MSVC did not include inttypes.h. Ensure that we dont try to<br>
include_next on those releases.<br>
<br>
Modified:<br>
cfe/trunk/lib/Headers/inttypes.h<br>
<br>
Modified: cfe/trunk/lib/Headers/inttypes.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/inttypes.h?rev=272741&r1=272740&r2=272741&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/inttypes.h?rev=272741&r1=272740&r2=272741&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/lib/Headers/inttypes.h (original)<br>
+++ cfe/trunk/lib/Headers/inttypes.h Tue Jun 14 19:28:15 2016<br>
@@ -23,6 +23,10 @@<br>
#ifndef __CLANG_INTTYPES_H<br>
#define __CLANG_INTTYPES_H<br>
<br>
+#if defined(_MSC_VER) && _MSC_VER < 1800<br>
+#error MSVC <= 11.0 does not have inttypes.h<br>
+#endif<br>
+<br>
#include_next <inttypes.h><br>
<br>
#if defined(_MSC_VER) && _MSC_VER < 1900<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div>