summaryrefslogtreecommitdiff
path: root/include/gc_config_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gc_config_macros.h')
-rw-r--r--include/gc_config_macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gc_config_macros.h b/include/gc_config_macros.h
index 030218e4..a27f8dd7 100644
--- a/include/gc_config_macros.h
+++ b/include/gc_config_macros.h
@@ -273,8 +273,8 @@
/* This may also be desirable if it is possible but expensive to */
/* retrieve the call chain. */
#if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__) \
- || defined(__FreeBSD__) || defined(__DragonFly__)) \
- && !defined(GC_CAN_SAVE_CALL_STACKS)
+ || defined(__FreeBSD__) || defined(__DragonFly__) \
+ || defined(PLATFORM_ANDROID)) && !defined(GC_CAN_SAVE_CALL_STACKS)
# define GC_ADD_CALLER
# if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
/* gcc knows how to retrieve return address, but we don't know */