mescc: Support tcc: Add intptr_t, uintptr_t.

* include/sys/types.h (intptr_t, uintptr_t): Add typedef.
This commit is contained in:
Jan Nieuwenhuizen 2019-03-27 21:54:13 +01:00
parent 0cfdb5e9d8
commit c065e4a2fd
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 4 additions and 1 deletions

View File

@ -75,10 +75,13 @@ typedef unsigned long ino_t;
typedef unsigned long long ino64_t;
#endif
#ifndef __MES_INTPTR_T
#if !defined (__MES_INTPTR_T) && !defined (__intptr_t_defined)
#define __MES_INTPTR_T
#define __intptr_t_defined
#undef intptr_t
typedef long intptr_t;
#undef uintptr_t
typedef unsigned long uintptr_t;
#endif
#ifndef __MES_OFF_T