<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 2, 2014 at 10:11 AM, <span dir="ltr"><<a href="mailto:jfonseca@vmware.com" target="_blank">jfonseca@vmware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">From: José Fonseca <<a href="mailto:jfonseca@vmware.com">jfonseca@vmware.com</a>><br>
<br>
Just include stdint.h.<br>
---<br>
src/egl/main/eglcompiler.h | 3 ++-<br>
1 file changed, 2 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/egl/main/eglcompiler.h b/src/egl/main/eglcompiler.h<br>
index 53dab54..5ea83d6 100644<br>
--- a/src/egl/main/eglcompiler.h<br>
+++ b/src/egl/main/eglcompiler.h<br>
@@ -37,7 +37,8 @@<br>
/**<br>
* Get standard integer types<br>
*/<br>
-#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)<br>
+#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \<br>
+ (defined(_MSC_VER) && _MSC_VER >= 1600)<br></blockquote><div><br></div><div>VS 2010 is where the support for <stdint.h> beings. This can be verified by a quick Google search.</div><div><br></div><div>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
# include <stdint.h><br>
#elif defined(_MSC_VER)<br>
typedef __int8 int8_t;<br>
<span class=""><font color="#888888">--<br>
1.9.1<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div></div>