diff options
author | mkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-19 20:05:46 +0000 |
---|---|---|
committer | mkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-19 20:05:46 +0000 |
commit | 3d0ed9e774a1901376b881feec82ca486ce52613 (patch) | |
tree | e081054cd58410b298e5f6b5caaaa6de8247ef5b /gcc/config/linux-android.h | |
parent | 8b879924ec0c322c0741954a5a8794b7f7a34609 (diff) | |
download | gcc-3d0ed9e774a1901376b881feec82ca486ce52613.tar.gz |
* config.gcc (LIBC_GLIBC, LIBC_UCLIBC, LIBC_BIONIC): Move constants
to top level.
* config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Move Android-specific
definitions ...
* config/linux-android.h (ANDROID_TARGET_OS_CPP_BUILTINS): ... here.
New macro.
* config/arm/linux-eabi.h (TARGET_OS_CPP_BUILTINS): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162315 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/linux-android.h')
-rw-r--r-- | gcc/config/linux-android.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/linux-android.h b/gcc/config/linux-android.h index a43bab5b035..94c52748fdb 100644 --- a/gcc/config/linux-android.h +++ b/gcc/config/linux-android.h @@ -20,6 +20,12 @@ along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ +#define ANDROID_TARGET_OS_CPP_BUILTINS() \ + do { \ + if (OPTION_ANDROID) \ + builtin_define ("__ANDROID__"); \ + } while (0) + #if ANDROID_DEFAULT # define NOANDROID "mno-android" #else |