Commit 17a40ffb authored by David Turner's avatar David Turner Committed by Android Git Automerger
Browse files

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

* commit 'c57fd963':
  NDK: x86 header file has incorrect definition for ptrdiff_t
parents 3906a9c1 c57fd963
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment