From e66293900bc8e69fc3359e0c75c6c5473861ab49 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Thu, 19 Jan 2012 16:31:57 -0800 Subject: [PATCH] Set HAVE_LOCALTIME_R to 1 when defined. SQLite 3.7.10 tests the value of the HAVE_LOCALTIME_R macro if it is defined, so we set it to 1. Change-Id: I8c34ec362813018f86aea57d1b36b7639d0dd96d --- include/arch/darwin-x86/AndroidConfig.h | 2 +- include/arch/freebsd-x86/AndroidConfig.h | 2 +- include/arch/linux-arm/AndroidConfig.h | 2 +- include/arch/linux-ppc/AndroidConfig.h | 2 +- include/arch/linux-sh/AndroidConfig.h | 2 +- include/arch/linux-x86/AndroidConfig.h | 2 +- include/arch/target_linux-x86/AndroidConfig.h | 2 +- include/arch/windows/AndroidConfig.h | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/arch/darwin-x86/AndroidConfig.h b/include/arch/darwin-x86/AndroidConfig.h index c8ccc7e7a..f79f3649c 100644 --- a/include/arch/darwin-x86/AndroidConfig.h +++ b/include/arch/darwin-x86/AndroidConfig.h @@ -109,7 +109,7 @@ /* * Define this if we have localtime_r(). */ -#define HAVE_LOCALTIME_R +#define HAVE_LOCALTIME_R 1 /* * Define this if we have gethostbyname_r(). diff --git a/include/arch/freebsd-x86/AndroidConfig.h b/include/arch/freebsd-x86/AndroidConfig.h index d828bd5f8..a8176f4b6 100644 --- a/include/arch/freebsd-x86/AndroidConfig.h +++ b/include/arch/freebsd-x86/AndroidConfig.h @@ -114,7 +114,7 @@ /* * Define this if we have localtime_r(). */ -#define HAVE_LOCALTIME_R +#define HAVE_LOCALTIME_R 1 /* * Define this if we have gethostbyname_r(). diff --git a/include/arch/linux-arm/AndroidConfig.h b/include/arch/linux-arm/AndroidConfig.h index cae112bdb..e1ce0e0af 100644 --- a/include/arch/linux-arm/AndroidConfig.h +++ b/include/arch/linux-arm/AndroidConfig.h @@ -122,7 +122,7 @@ /* * Define this if we have localtime_r(). */ -/* #define HAVE_LOCALTIME_R */ +/* #define HAVE_LOCALTIME_R 1 */ /* * Define this if we have gethostbyname_r(). diff --git a/include/arch/linux-ppc/AndroidConfig.h b/include/arch/linux-ppc/AndroidConfig.h index 00706dca1..b9719e675 100644 --- a/include/arch/linux-ppc/AndroidConfig.h +++ b/include/arch/linux-ppc/AndroidConfig.h @@ -109,7 +109,7 @@ /* * Define this if we have localtime_r(). */ -#define HAVE_LOCALTIME_R +#define HAVE_LOCALTIME_R 1 /* * Define this if we have gethostbyname_r(). diff --git a/include/arch/linux-sh/AndroidConfig.h b/include/arch/linux-sh/AndroidConfig.h index 5562eae5f..a040b9812 100644 --- a/include/arch/linux-sh/AndroidConfig.h +++ b/include/arch/linux-sh/AndroidConfig.h @@ -122,7 +122,7 @@ /* * Define this if we have localtime_r(). */ -/* #define HAVE_LOCALTIME_R */ +/* #define HAVE_LOCALTIME_R 1 */ /* * Define this if we have gethostbyname_r(). diff --git a/include/arch/linux-x86/AndroidConfig.h b/include/arch/linux-x86/AndroidConfig.h index 7dcaa98bf..82e538ce5 100644 --- a/include/arch/linux-x86/AndroidConfig.h +++ b/include/arch/linux-x86/AndroidConfig.h @@ -109,7 +109,7 @@ /* * Define this if we have localtime_r(). */ -#define HAVE_LOCALTIME_R +#define HAVE_LOCALTIME_R 1 /* * Define this if we have gethostbyname_r(). diff --git a/include/arch/target_linux-x86/AndroidConfig.h b/include/arch/target_linux-x86/AndroidConfig.h index 05dd22079..9efb81a6e 100644 --- a/include/arch/target_linux-x86/AndroidConfig.h +++ b/include/arch/target_linux-x86/AndroidConfig.h @@ -108,7 +108,7 @@ /* * Define this if we have localtime_r(). */ -/* #define HAVE_LOCALTIME_R */ +/* #define HAVE_LOCALTIME_R 1 */ /* * Define this if we have gethostbyname_r(). diff --git a/include/arch/windows/AndroidConfig.h b/include/arch/windows/AndroidConfig.h index ad890b4dd..445e75415 100644 --- a/include/arch/windows/AndroidConfig.h +++ b/include/arch/windows/AndroidConfig.h @@ -125,7 +125,7 @@ /* * Define this if we have localtime_r(). */ -/* #define HAVE_LOCALTIME_R */ +/* #define HAVE_LOCALTIME_R 1 */ /* * Define this if we have gethostbyname_r().