Skip to content
Snippets Groups Projects
Commit 52620c6b authored by ASM's avatar ASM Committed by Paul Sokolovsky
Browse files

py/nlrx86: Fix building for Android/x86.

Tested using Clang on self-hosted Termux environment https://termux.com/.
parent eea5fcc4
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment