py/nlrx86: Fix building for Android/x86.

Tested using Clang on self-hosted Termux environment https://termux.com/.
pull/3316/head
ASM 2017-09-08 15:01:14 +03:00 zatwierdzone przez Paul Sokolovsky
rodzic eea5fcc442
commit 52620c6b0e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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