mescc: Mes C Library: Support gcc-4.6.4: Avoid type/size_t conflicts.

* include/alloca.h: Remove typedefs, include sys/types.h.
* include/stdint.h: Likewise.
* include/string.h: Likewise.
This commit is contained in:
Jan Nieuwenhuizen 2019-02-09 07:44:18 +01:00
parent 44a0d9f46c
commit 57a7e4346b
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 0 additions and 18 deletions

View File

@ -61,24 +61,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 <sys/types.h>
#define CHAR_BIT 8