From a48118e510fcbb57634a7869cb628123fa8c3f2e Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 4 Aug 2011 18:04:44 -0700 Subject: [PATCH] mesa: Remove MSVC stdint typedefs from compiler.h. MSVC can now include the stdint.h at include/c99/stdint.h. --- src/mesa/main/compiler.h | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index d736fdfc58a..ee7d0b2f880 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -60,29 +60,7 @@ extern "C" { /** * Get standard integer types */ -#if defined(_MSC_VER) - typedef __int8 int8_t; - typedef unsigned __int8 uint8_t; - typedef __int16 int16_t; - typedef unsigned __int16 uint16_t; - typedef __int32 int32_t; - typedef unsigned __int32 uint32_t; - typedef __int64 int64_t; - typedef unsigned __int64 uint64_t; - -# if defined(_WIN64) - typedef __int64 intptr_t; - typedef unsigned __int64 uintptr_t; -# else - typedef __int32 intptr_t; - typedef unsigned __int32 uintptr_t; -# endif - -# define INT64_C(__val) __val##i64 -# define UINT64_C(__val) __val##ui64 -#else -# include -#endif +#include /** -- 2.30.2