From 9fe7e05ffd494c3e1ce6616ba5fbf07180d32441 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sat, 9 Feb 2019 07:44:18 +0100 Subject: [PATCH] lib: Support gcc-4.6.4: Avoid type/size_t conflicts. * include/stdint.h: Remove typedefs, include sys/types.h. --- include/stdint.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/include/stdint.h b/include/stdint.h index 6cc503a4..02ade3e4 100644 --- a/include/stdint.h +++ b/include/stdint.h @@ -63,24 +63,6 @@ typedef long long int64_t; typedef int intmax_t; typedef unsigned uintmax_t; -#ifndef __MES_SIZE_T -#define __MES_SIZE_T -#undef size_t -typedef unsigned long size_t; -#endif - -#ifndef __MES_INTPTR_T -#define __MES_INTPTR_T -#undef intptr_t -typedef long intptr_t; -#endif - -#ifndef __MES_UINTPTR_T -#define __MES_UINTPTR_T -#undef uintptr_t -typedef long uintptr_t; -#endif - #include #define CHAR_BIT 8