NDK: x86 header file has incorrect definition for ptrdiff_t
See Bug http://code.google.com/p/android/issues/detail?id=19042 Change-Id: I8e975930e7f8c3c437ecdffbc6f6bc5028937829 Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This commit is contained in:
parent
023c49882e
commit
c3c0e88bed
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user