egl: Don't attempt to redefine stdint.h types with VS 2010.

Just include stdint.h.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
José Fonseca 2014-05-01 14:16:08 +01:00
parent 979692a52a
commit ade79b21e9

View file

@ -37,7 +37,8 @@
/**
* Get standard integer types
*/
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
(defined(_MSC_VER) && _MSC_VER >= 1600)
# include <stdint.h>
#elif defined(_MSC_VER)
typedef __int8 int8_t;