commit | 165db2a19888673548a1a7bd1ffd39e89a8dfe78 | [log] [tgz] |
---|---|---|
author | Jing Yu <jingyu@google.com> | Tue May 18 10:55:52 2010 -0700 |
committer | Jing Yu <jingyu@google.com> | Tue May 18 10:55:52 2010 -0700 |
tree | 7471419379d023f952b35994bf95997103282f92 | |
parent | eb31c0bdc0eac0898f01cdc1737cea94269f8f27 [diff] |
Don't define __linux__ if it is already defined by the toolchain. This change does not affect existing behavior at all and makes the file compatible with new toolchain. Change-Id: Ia33bb9372d1705ec538b414bf69773f093e4543c
diff --git a/include/arch/linux-arm/AndroidConfig.h b/include/arch/linux-arm/AndroidConfig.h index f51ddb1..81f077f 100644 --- a/include/arch/linux-arm/AndroidConfig.h +++ b/include/arch/linux-arm/AndroidConfig.h
@@ -199,7 +199,9 @@ /* * Add any extra platform-specific defines here. */ +#ifndef __linux__ #define __linux__ +#endif /* * Define if we have <malloc.h> header