am dc5fcf36
: Merge "Define __WORDSIZE like glibc."
* commit 'dc5fcf3620bfc221954b3d42f459bfdcf8f48216': Define __WORDSIZE like glibc.
This commit is contained in:
commit
b49e6c8a54
@ -528,6 +528,13 @@
|
|||||||
#define __BIONIC__ 1
|
#define __BIONIC__ 1
|
||||||
#include <android/api-level.h>
|
#include <android/api-level.h>
|
||||||
|
|
||||||
|
/* glibc compatibility. */
|
||||||
|
#if __LP64__
|
||||||
|
#define __WORDSIZE 64
|
||||||
|
#else
|
||||||
|
#define __WORDSIZE 32
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* When _FORTIFY_SOURCE is defined, automatic bounds checking is
|
* When _FORTIFY_SOURCE is defined, automatic bounds checking is
|
||||||
* added to commonly used libc functions. If a buffer overrun is
|
* added to commonly used libc functions. If a buffer overrun is
|
||||||
|
Loading…
Reference in New Issue
Block a user