summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--py/nlrx86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/nlrx86.c b/py/nlrx86.c
index 8d15d7bab..a5a20f373 100644
--- a/py/nlrx86.c
+++ b/py/nlrx86.c
@@ -55,7 +55,7 @@ unsigned int nlr_push(nlr_buf_t *nlr) {
// by default.
// TODE: Better support for various x86 calling conventions
// (unfortunately, __attribute__((naked)) is not supported on x86).
- #ifndef __ZEPHYR__
+ #if !(defined(__ZEPHYR__) || defined(__ANDROID__))
"pop %ebp \n" // undo function's prelude
#endif
"mov 4(%esp), %edx \n" // load nlr_buf