summaryrefslogtreecommitdiff
path: root/src/talloc
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-09-27 00:19:43 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-12-09 20:01:34 -0500
commit17935c0191b4c5adb68dd59df23282caef869875 (patch)
tree5b74dba500967a7eb0c9cd0ff8c9f070be16fa6d /src/talloc
parent7aceb74db73e72f13328672733836818e3979052 (diff)
android: Fix build with bionic.
Diffstat (limited to 'src/talloc')
-rw-r--r--src/talloc/talloc.c2
1 files changed, 1 insertions, 1 deletions
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