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-07-17 22:54:13 +02:00
parent 2611a64b2e
commit 0904a288c7
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

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