From 17935c0191b4c5adb68dd59df23282caef869875 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 27 Sep 2010 00:19:43 +0800 Subject: android: Fix build with bionic. --- src/talloc/talloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/talloc') diff --git a/src/talloc/talloc.c b/src/talloc/talloc.c index cc01346a7f..ea77684f7b 100644 --- a/src/talloc/talloc.c +++ b/src/talloc/talloc.c @@ -56,7 +56,7 @@ static size_t strnlen (const char* s, size_t n) #endif /* Visual C++ 2008 & Xcode/gcc4.0 compatibility */ -#if !defined(_cplusplus) && (defined(WIN32) || defined(__APPLE__)) +#if !defined(_cplusplus) && (defined(WIN32) || defined(__APPLE__) || defined(ANDROID)) typedef int bool; #define false 0 #define true 1 -- cgit v1.2.3