Skip to content

Commit 52620c6

Browse files
asmfreakpfalcon
authored andcommitted
py/nlrx86: Fix building for Android/x86.
Tested using Clang on self-hosted Termux environment https://termux.com/.
1 parent eea5fcc commit 52620c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/nlrx86.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ unsigned int nlr_push(nlr_buf_t *nlr) {
5555
// by default.
5656
// TODE: Better support for various x86 calling conventions
5757
// (unfortunately, __attribute__((naked)) is not supported on x86).
58-
#ifndef __ZEPHYR__
58+
#if !(defined(__ZEPHYR__) || defined(__ANDROID__))
5959
"pop %ebp \n" // undo function's prelude
6060
#endif
6161
"mov 4(%esp), %edx \n" // load nlr_buf

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy