diff options
| author | Raphael Moll <raphael@google.com> | 2010-10-13 16:47:35 -0700 |
|---|---|---|
| committer | Raphael <raphael@google.com> | 2010-10-13 21:54:56 -0700 |
| commit | bb8ebabfd47805e0d72273e91492f215a9994c00 (patch) | |
| tree | 00224620de3e035d422933d4f33ebdc0ee89d143 /include | |
| parent | 83c6b052918178033875e7ea54ca746cf7303f87 (diff) | |
| download | system_core-bb8ebabfd47805e0d72273e91492f215a9994c00.tar.gz system_core-bb8ebabfd47805e0d72273e91492f215a9994c00.tar.bz2 system_core-bb8ebabfd47805e0d72273e91492f215a9994c00.zip | |
Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin.
This is used by build\libs\host\CopyFile.c
Also define HAVE_PRINTF_ZD since printf %zd is not
supported on MinGW/Cygwin.
This is used by frmk/base/libs/utils/ZipFileRO.cpp
Change-Id: I570ac5dd0a5b256ee67ad62433f1226597da3ea4
Diffstat (limited to 'include')
| -rw-r--r-- | include/arch/darwin-x86/AndroidConfig.h | 10 | ||||
| -rw-r--r-- | include/arch/freebsd-x86/AndroidConfig.h | 9 | ||||
| -rw-r--r-- | include/arch/linux-arm/AndroidConfig.h | 10 | ||||
| -rw-r--r-- | include/arch/linux-sh/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 |
7 files changed, 69 insertions, 0 deletions
diff --git a/include/arch/darwin-x86/AndroidConfig.h b/include/arch/darwin-x86/AndroidConfig.h index c2c1f189..2bb44c6a 100644 --- a/include/arch/darwin-x86/AndroidConfig.h +++ b/include/arch/darwin-x86/AndroidConfig.h @@ -290,4 +290,14 @@ */ #define HAVE_PREAD 1 +/* + * Define if we have st_mtim in struct stat + */ +#define HAVE_STAT_ST_MTIM 1 + +/* + * Define if printf() supports %zd for size_t arguments + */ +#define HAVE_PRINTF_ZD 1 + #endif /*_ANDROID_CONFIG_H*/ diff --git a/include/arch/freebsd-x86/AndroidConfig.h b/include/arch/freebsd-x86/AndroidConfig.h index a2a9e676..992b6895 100644 --- a/include/arch/freebsd-x86/AndroidConfig.h +++ b/include/arch/freebsd-x86/AndroidConfig.h @@ -348,5 +348,14 @@ * Define if pread() exists */ #define HAVE_PREAD 1 +/* + * Define if we have st_mtim in struct stat + */ +#define HAVE_STAT_ST_MTIM 1 + +/* + * Define if printf() supports %zd for size_t arguments + */ +#define HAVE_PRINTF_ZD 1 #endif /*_ANDROID_CONFIG_H*/ diff --git a/include/arch/linux-arm/AndroidConfig.h b/include/arch/linux-arm/AndroidConfig.h index f5fabb20..5b7ccee1 100644 --- a/include/arch/linux-arm/AndroidConfig.h +++ b/include/arch/linux-arm/AndroidConfig.h @@ -344,4 +344,14 @@ */ #define HAVE_PREAD 1 +/* + * Define if we have st_mtim in struct stat + */ +#define HAVE_STAT_ST_MTIM 1 + +/* + * Define if printf() supports %zd for size_t arguments + */ +#define HAVE_PRINTF_ZD 1 + #endif /* _ANDROID_CONFIG_H */ diff --git a/include/arch/linux-sh/AndroidConfig.h b/include/arch/linux-sh/AndroidConfig.h index 297f51b1..0dd7b3b3 100644 --- a/include/arch/linux-sh/AndroidConfig.h +++ b/include/arch/linux-sh/AndroidConfig.h @@ -351,4 +351,14 @@ */ #define HAVE_PREAD 1 +/* + * Define if we have st_mtim in struct stat + */ +#define HAVE_STAT_ST_MTIM 1 + +/* + * Define if printf() supports %zd for size_t arguments + */ +#define HAVE_PRINTF_ZD 1 + #endif /* _ANDROID_CONFIG_H */ diff --git a/include/arch/linux-x86/AndroidConfig.h b/include/arch/linux-x86/AndroidConfig.h index 385e1a26..24f6ccce 100644 --- a/include/arch/linux-x86/AndroidConfig.h +++ b/include/arch/linux-x86/AndroidConfig.h @@ -318,4 +318,14 @@ */ #define HAVE_PREAD 1 +/* + * Define if we have st_mtim in struct stat + */ +#define HAVE_STAT_ST_MTIM 1 + +/* + * Define if printf() supports %zd for size_t arguments + */ +#define HAVE_PRINTF_ZD 1 + #endif /*_ANDROID_CONFIG_H*/ diff --git a/include/arch/target_linux-x86/AndroidConfig.h b/include/arch/target_linux-x86/AndroidConfig.h index 1aff9cfd..617e7fa3 100644 --- a/include/arch/target_linux-x86/AndroidConfig.h +++ b/include/arch/target_linux-x86/AndroidConfig.h @@ -335,4 +335,14 @@ */ #define HAVE_PREAD 1 +/* + * Define if we have st_mtim in struct stat + */ +#define HAVE_STAT_ST_MTIM 1 + +/* + * Define if printf() supports %zd for size_t arguments + */ +#define HAVE_PRINTF_ZD 1 + #endif /* _ANDROID_CONFIG_H */ diff --git a/include/arch/windows/AndroidConfig.h b/include/arch/windows/AndroidConfig.h index 00ce557b..f0bf56f7 100644 --- a/include/arch/windows/AndroidConfig.h +++ b/include/arch/windows/AndroidConfig.h @@ -323,4 +323,14 @@ */ /* #define HAVE_PREAD 1 */ +/* + * Define if we have st_mtim in struct stat + */ +/* #define HAVE_STAT_ST_MTIM 1 */ + +/* + * Define if printf() supports %zd for size_t arguments + */ +/* #define HAVE_PRINTF_ZD 1 */ + #endif /*_ANDROID_CONFIG_H*/ |
