* commit '17a40ffbf0e12ee44a024a9bb37434388478b478': NDK: x86 header file has incorrect definition for ptrdiff_t
This commit is contained in:
commit
3dc94305e4
@ -51,8 +51,12 @@ typedef long int ssize_t;
|
|||||||
#endif
|
#endif
|
||||||
#ifndef _PTRDIFF_T
|
#ifndef _PTRDIFF_T
|
||||||
#define _PTRDIFF_T
|
#define _PTRDIFF_T
|
||||||
|
# ifdef __ANDROID__
|
||||||
|
typedef int ptrdiff_t;
|
||||||
|
# else
|
||||||
typedef long ptrdiff_t;
|
typedef long ptrdiff_t;
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user