Fix definition of __size_t
Fix definition of __size_t in case __SIZE_TYPE__ is not defined. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
parent
c36070f2f6
commit
af5bbbec81
|
@ -127,9 +127,9 @@ typedef _off64_t _fpos64_t;
|
|||
typedef __SIZE_TYPE__ __size_t;
|
||||
#else
|
||||
#if defined(__INT_MAX__) && __INT_MAX__ == 2147483647
|
||||
typedef int __size_t;
|
||||
typedef unsigned int __size_t;
|
||||
#else
|
||||
typedef long __size_t;
|
||||
typedef unsigned long __size_t;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue