diff options
| author | ASM | 2017-09-08 15:01:14 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2017-09-12 08:55:14 +0300 |
| commit | 52620c6b0e8a601e49866d0db37abbe217b16a0d (patch) | |
| tree | 1a27666e2619a9a8cfa794080951264123d6d26d /py | |
| parent | eea5fcc4428e32f6abd3c5fbf8fa1fe41d206381 (diff) | |
py/nlrx86: Fix building for Android/x86.
Tested using Clang on self-hosted Termux environment https://termux.com/.
Diffstat (limited to 'py')
| -rw-r--r-- | py/nlrx86.c | 2 |
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 |
