lib: Fix off_t.
* include/sys/types.h [!__M2__]: Change to long long.
This commit is contained in:
parent
9fa0d4098c
commit
34d241e4dc
|
@ -106,7 +106,11 @@ typedef unsigned long uintptr_t;
|
||||||
#ifndef __MES_OFF_T
|
#ifndef __MES_OFF_T
|
||||||
#define __MES_OFF_T
|
#define __MES_OFF_T
|
||||||
#undef off_t
|
#undef off_t
|
||||||
|
#if __M2__
|
||||||
typedef long off_t;
|
typedef long off_t;
|
||||||
|
#else
|
||||||
|
typedef long long off_t;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __SIZEOF_LONG_LONG__ == 8
|
#if __SIZEOF_LONG_LONG__ == 8
|
||||||
|
|
Loading…
Reference in New Issue