summaryrefslogtreecommitdiff
path: root/src/talloc/talloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/talloc/talloc.c')
-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