diff options
author | Raphael Moll | 2010-10-13 18:47:35 -0500 |
---|---|---|
committer | Raphael | 2010-10-13 23:54:56 -0500 |
commit | bb8ebabfd47805e0d72273e91492f215a9994c00 (patch) | |
tree | 00224620de3e035d422933d4f33ebdc0ee89d143 | |
parent | 83c6b052918178033875e7ea54ca746cf7303f87 (diff) | |
download | platform-system-core-bb8ebabfd47805e0d72273e91492f215a9994c00.tar.gz platform-system-core-bb8ebabfd47805e0d72273e91492f215a9994c00.tar.xz platform-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
-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 c2c1f189c..2bb44c6ae 100644 --- a/include/arch/darwin-x86/AndroidConfig.h +++ b/include/arch/darwin-x86/AndroidConfig.h | |||
@@ -290,4 +290,14 @@ | |||
290 | */ | 290 | */ |
291 | #define HAVE_PREAD 1 | 291 | #define HAVE_PREAD 1 |
292 | 292 | ||
293 | /* | ||
294 | * Define if we have st_mtim in struct stat | ||
295 | */ | ||
296 | #define HAVE_STAT_ST_MTIM 1 | ||
297 | |||
298 | /* | ||
299 | * Define if printf() supports %zd for size_t arguments | ||
300 | */ | ||
301 | #define HAVE_PRINTF_ZD 1 | ||
302 | |||
293 | #endif /*_ANDROID_CONFIG_H*/ | 303 | #endif /*_ANDROID_CONFIG_H*/ |
diff --git a/include/arch/freebsd-x86/AndroidConfig.h b/include/arch/freebsd-x86/AndroidConfig.h index a2a9e6762..992b6895b 100644 --- a/include/arch/freebsd-x86/AndroidConfig.h +++ b/include/arch/freebsd-x86/AndroidConfig.h | |||
@@ -348,5 +348,14 @@ | |||
348 | * Define if pread() exists | 348 | * Define if pread() exists |
349 | */ | 349 | */ |
350 | #define HAVE_PREAD 1 | 350 | #define HAVE_PREAD 1 |
351 | /* | ||
352 | * Define if we have st_mtim in struct stat | ||
353 | */ | ||
354 | #define HAVE_STAT_ST_MTIM 1 | ||
355 | |||
356 | /* | ||
357 | * Define if printf() supports %zd for size_t arguments | ||
358 | */ | ||
359 | #define HAVE_PRINTF_ZD 1 | ||
351 | 360 | ||
352 | #endif /*_ANDROID_CONFIG_H*/ | 361 | #endif /*_ANDROID_CONFIG_H*/ |
diff --git a/include/arch/linux-arm/AndroidConfig.h b/include/arch/linux-arm/AndroidConfig.h index f5fabb209..5b7ccee1b 100644 --- a/include/arch/linux-arm/AndroidConfig.h +++ b/include/arch/linux-arm/AndroidConfig.h | |||
@@ -344,4 +344,14 @@ | |||
344 | */ | 344 | */ |
345 | #define HAVE_PREAD 1 | 345 | #define HAVE_PREAD 1 |
346 | 346 | ||
347 | /* | ||
348 | * Define if we have st_mtim in struct stat | ||
349 | */ | ||
350 | #define HAVE_STAT_ST_MTIM 1 | ||
351 | |||
352 | /* | ||
353 | * Define if printf() supports %zd for size_t arguments | ||
354 | */ | ||
355 | #define HAVE_PRINTF_ZD 1 | ||
356 | |||
347 | #endif /* _ANDROID_CONFIG_H */ | 357 | #endif /* _ANDROID_CONFIG_H */ |
diff --git a/include/arch/linux-sh/AndroidConfig.h b/include/arch/linux-sh/AndroidConfig.h index 297f51b13..0dd7b3b32 100644 --- a/include/arch/linux-sh/AndroidConfig.h +++ b/include/arch/linux-sh/AndroidConfig.h | |||
@@ -351,4 +351,14 @@ | |||
351 | */ | 351 | */ |
352 | #define HAVE_PREAD 1 | 352 | #define HAVE_PREAD 1 |
353 | 353 | ||
354 | /* | ||
355 | * Define if we have st_mtim in struct stat | ||
356 | */ | ||
357 | #define HAVE_STAT_ST_MTIM 1 | ||
358 | |||
359 | /* | ||
360 | * Define if printf() supports %zd for size_t arguments | ||
361 | */ | ||
362 | #define HAVE_PRINTF_ZD 1 | ||
363 | |||
354 | #endif /* _ANDROID_CONFIG_H */ | 364 | #endif /* _ANDROID_CONFIG_H */ |
diff --git a/include/arch/linux-x86/AndroidConfig.h b/include/arch/linux-x86/AndroidConfig.h index 385e1a262..24f6cccec 100644 --- a/include/arch/linux-x86/AndroidConfig.h +++ b/include/arch/linux-x86/AndroidConfig.h | |||
@@ -318,4 +318,14 @@ | |||
318 | */ | 318 | */ |
319 | #define HAVE_PREAD 1 | 319 | #define HAVE_PREAD 1 |
320 | 320 | ||
321 | /* | ||
322 | * Define if we have st_mtim in struct stat | ||
323 | */ | ||
324 | #define HAVE_STAT_ST_MTIM 1 | ||
325 | |||
326 | /* | ||
327 | * Define if printf() supports %zd for size_t arguments | ||
328 | */ | ||
329 | #define HAVE_PRINTF_ZD 1 | ||
330 | |||
321 | #endif /*_ANDROID_CONFIG_H*/ | 331 | #endif /*_ANDROID_CONFIG_H*/ |
diff --git a/include/arch/target_linux-x86/AndroidConfig.h b/include/arch/target_linux-x86/AndroidConfig.h index 1aff9cfd2..617e7fa34 100644 --- a/include/arch/target_linux-x86/AndroidConfig.h +++ b/include/arch/target_linux-x86/AndroidConfig.h | |||
@@ -335,4 +335,14 @@ | |||
335 | */ | 335 | */ |
336 | #define HAVE_PREAD 1 | 336 | #define HAVE_PREAD 1 |
337 | 337 | ||
338 | /* | ||
339 | * Define if we have st_mtim in struct stat | ||
340 | */ | ||
341 | #define HAVE_STAT_ST_MTIM 1 | ||
342 | |||
343 | /* | ||
344 | * Define if printf() supports %zd for size_t arguments | ||
345 | */ | ||
346 | #define HAVE_PRINTF_ZD 1 | ||
347 | |||
338 | #endif /* _ANDROID_CONFIG_H */ | 348 | #endif /* _ANDROID_CONFIG_H */ |
diff --git a/include/arch/windows/AndroidConfig.h b/include/arch/windows/AndroidConfig.h index 00ce557b9..f0bf56f78 100644 --- a/include/arch/windows/AndroidConfig.h +++ b/include/arch/windows/AndroidConfig.h | |||
@@ -323,4 +323,14 @@ | |||
323 | */ | 323 | */ |
324 | /* #define HAVE_PREAD 1 */ | 324 | /* #define HAVE_PREAD 1 */ |
325 | 325 | ||
326 | /* | ||
327 | * Define if we have st_mtim in struct stat | ||
328 | */ | ||
329 | /* #define HAVE_STAT_ST_MTIM 1 */ | ||
330 | |||
331 | /* | ||
332 | * Define if printf() supports %zd for size_t arguments | ||
333 | */ | ||
334 | /* #define HAVE_PRINTF_ZD 1 */ | ||
335 | |||
326 | #endif /*_ANDROID_CONFIG_H*/ | 336 | #endif /*_ANDROID_CONFIG_H*/ |