From: José Fonseca Date: Thu, 1 May 2014 13:16:08 +0000 (+0100) Subject: egl: Don't attempt to redefine stdint.h types with VS 2010. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ade79b21e9bce776beff079cc5017e13a0099fcb;p=mesa.git egl: Don't attempt to redefine stdint.h types with VS 2010. Just include stdint.h. Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger --- diff --git a/src/egl/main/eglcompiler.h b/src/egl/main/eglcompiler.h index 53dab54384a..5ea83d6145a 100644 --- a/src/egl/main/eglcompiler.h +++ b/src/egl/main/eglcompiler.h @@ -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 #elif defined(_MSC_VER) typedef __int8 int8_t;