<div dir="ltr">This was actually my original approach until I searched around online.  One example of a report of a user not being able to find stdint.h on VS2012 is here: <a href="https://code.google.com/p/msinttypes/issues/detail?id=12">https://code.google.com/p/msinttypes/issues/detail?id=12</a><div>
<br></div><div>That being said, i did in fact do a vanilla install of VS2012 and confirmed that the file was there.  So I really don't know how to explain that person's experience.  Maybe a pre-release version of VS2012?  You can find more reports of people not having stdint.h by doing a quick google search for "visual studio 2012 stdint.h".</div>
<div><br></div><div>I would also prefer to remove all of this, so if everyone is still ok with this, I will change the patch accordingly.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 27, 2014 at 11:33 AM, Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com" target="_blank">aaron@aaronballman.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="">On Tue, May 27, 2014 at 2:30 PM, Reid Kleckner <<a href="mailto:rnk@google.com">rnk@google.com</a>> wrote:<br>

> +Nakamura, he knows more about the various supported Windows configs.<br>
><br>
> Thanks!  At one point I thought I could delete DataTypes.h completely in<br>
> favor of stdint.h, but I gave up because inttypes.h makes things<br>
> complicated.<br>
><br>
> +#if defined(_WIN64)<br>
> +typedef signed __int64 ssize_t;<br>
> +#else<br>
> +typedef signed int ssize_t;<br>
> +#endif /* _WIN64 */<br>
> +<br>
> +/* Ideally, we would like to assume that stdint.h always exists on<br>
> +   every supported Visual Studio version.  Indeed, the header does get<br>
> +   installed on a vanilla VS 2012 installation.  But a search online<br>
> +   shows that some people seem to have a version of VS2012 that does<br>
> +   not have this header, so without a better understanding of why this<br>
> +   is it's better to leave this check in. */<br>
> +#ifndef HAVE_STDINT_H<br>
><br>
> Really?  I thought it was available since VS 2010.  Do you have a link to<br>
> these results?  I'd like to nuke this, replace it with '#error "MSVC must<br>
> provide stdint.h"', commit it, and see if it sticks.<br>
<br>
</div>stdint.h is included with MSVC 2010 and later. I concur with the<br>
#error approach.<br>
<span class="HOEnZb"><font color="#888888"><br>
~Aaron<br>
</font></span></blockquote></div><br></div>