Merge "NDK: x86 header file has incorrect definition for ptrdiff_t"

This commit is contained in:
David Turner 2011-08-05 09:23:29 -07:00 committed by Android Code Review
commit c57fd96381

View File

@ -51,7 +51,11 @@ typedef long int ssize_t;
#endif
#ifndef _PTRDIFF_T
#define _PTRDIFF_T
typedef long ptrdiff_t;
# ifdef __ANDROID__
typedef int ptrdiff_t;
# else
typedef long ptrdiff_t;
# endif
#endif
#include <linux/types.h>