diff options
| author | Andy McFadden <fadden@android.com> | 2009-08-05 14:10:49 -0700 |
|---|---|---|
| committer | Andy McFadden <fadden@android.com> | 2009-08-05 14:14:32 -0700 |
| commit | 656a8162983ee8165f4bbcb6c76d8560a7957c35 (patch) | |
| tree | 37d28a9ae9a427e5869810582b5fb749b8a0f245 | |
| parent | c98c2b89706aeadb170472c3af9b381c58346d92 (diff) | |
| download | system_core-656a8162983ee8165f4bbcb6c76d8560a7957c35.tar.gz system_core-656a8162983ee8165f4bbcb6c76d8560a7957c35.tar.bz2 system_core-656a8162983ee8165f4bbcb6c76d8560a7957c35.zip | |
Added defines for <stdint.h> and <stdbool.h>.
This adds HAVE_STDINT_H and HAVE_STDBOOL_H to the configuration. We've
been using HAVE_STDINT_H for a while but just never bothered to define
it, and we're about to start using HAVE_STDBOOL_H.
I enabled them for the linux and darwin targets, and left it undefined
for freebsd/windows.
| -rw-r--r-- | include/arch/darwin-x86/AndroidConfig.h | 14 | ||||
| -rw-r--r-- | include/arch/freebsd-x86/AndroidConfig.h | 10 | ||||
| -rw-r--r-- | include/arch/linux-arm/AndroidConfig.h | 10 | ||||
| -rw-r--r-- | include/arch/linux-x86/AndroidConfig.h | 10 | ||||
| -rw-r--r-- | include/arch/target_linux-x86/AndroidConfig.h | 10 | ||||
| -rw-r--r-- | include/arch/windows/AndroidConfig.h | 10 |
6 files changed, 61 insertions, 3 deletions
diff --git a/include/arch/darwin-x86/AndroidConfig.h b/include/arch/darwin-x86/AndroidConfig.h index 49f04e51..c4de3579 100644 --- a/include/arch/darwin-x86/AndroidConfig.h +++ b/include/arch/darwin-x86/AndroidConfig.h @@ -15,9 +15,7 @@ */ /* - * Android config -- "Darwin". Used for PPC Mac OS X. - * - * TODO: split this into "x86" and "ppc" versions + * Android config -- "Darwin". Used for X86 Mac OS X. */ #ifndef _ANDROID_CONFIG_H #define _ANDROID_CONFIG_H @@ -257,4 +255,14 @@ */ #define HAVE_WRITEV 1 +/* + * Define if <stdint.h> exists. + */ +#define HAVE_STDINT_H 1 + +/* + * Define if <stdbool.h> exists. + */ +#define HAVE_STDBOOL_H 1 + #endif /*_ANDROID_CONFIG_H*/ diff --git a/include/arch/freebsd-x86/AndroidConfig.h b/include/arch/freebsd-x86/AndroidConfig.h index cc118f47..7ddbd279 100644 --- a/include/arch/freebsd-x86/AndroidConfig.h +++ b/include/arch/freebsd-x86/AndroidConfig.h @@ -314,4 +314,14 @@ #define CLOCK_PROCESS_CPUTIME_ID CLOCK_PROF #endif +/* + * Define if <stdint.h> exists. + */ +/* #define HAVE_STDINT_H */ + +/* + * Define if <stdbool.h> exists. + */ +/* #define HAVE_STDBOOL_H */ + #endif /*_ANDROID_CONFIG_H*/ diff --git a/include/arch/linux-arm/AndroidConfig.h b/include/arch/linux-arm/AndroidConfig.h index f3221274..43710834 100644 --- a/include/arch/linux-arm/AndroidConfig.h +++ b/include/arch/linux-arm/AndroidConfig.h @@ -302,4 +302,14 @@ */ #define HAVE_WRITEV 1 +/* + * Define if <stdint.h> exists. + */ +#define HAVE_STDINT_H 1 + +/* + * Define if <stdbool.h> exists. + */ +#define HAVE_STDBOOL_H 1 + #endif /* _ANDROID_CONFIG_H */ diff --git a/include/arch/linux-x86/AndroidConfig.h b/include/arch/linux-x86/AndroidConfig.h index 6de75f8d..323e067b 100644 --- a/include/arch/linux-x86/AndroidConfig.h +++ b/include/arch/linux-x86/AndroidConfig.h @@ -283,4 +283,14 @@ */ #define HAVE_WRITEV 1 +/* + * Define if <stdint.h> exists. + */ +#define HAVE_STDINT_H 1 + +/* + * Define if <stdbool.h> exists. + */ +#define HAVE_STDBOOL_H 1 + #endif /*_ANDROID_CONFIG_H*/ diff --git a/include/arch/target_linux-x86/AndroidConfig.h b/include/arch/target_linux-x86/AndroidConfig.h index 4aa44f88..6ba71089 100644 --- a/include/arch/target_linux-x86/AndroidConfig.h +++ b/include/arch/target_linux-x86/AndroidConfig.h @@ -293,4 +293,14 @@ */ #define HAVE_UNWIND_CONTEXT_STRUCT +/* + * Define if <stdint.h> exists. + */ +#define HAVE_STDINT_H 1 + +/* + * Define if <stdbool.h> exists. + */ +#define HAVE_STDBOOL_H 1 + #endif /* _ANDROID_CONFIG_H */ diff --git a/include/arch/windows/AndroidConfig.h b/include/arch/windows/AndroidConfig.h index c3c6ff11..18e435c4 100644 --- a/include/arch/windows/AndroidConfig.h +++ b/include/arch/windows/AndroidConfig.h @@ -287,4 +287,14 @@ */ /* #define HAVE_WRITEV */ +/* + * Define if <stdint.h> exists. + */ +/* #define HAVE_STDINT_H */ + +/* + * Define if <stdbool.h> exists. + */ +/* #define HAVE_STDBOOL_H */ + #endif /*_ANDROID_CONFIG_H*/ |
