summaryrefslogtreecommitdiff
path: root/py/makecompresseddata.py
diff options
context:
space:
mode:
authorBob Abeles <phil99boyd@gmail.com>2021-05-14 07:57:19 -0700
committerDamien George <damien@micropython.org>2021-05-18 11:46:30 +1000
commit126b1c727118352923703719a2a3d45b9fad3c97 (patch)
tree201414c27727e957f629205f881519cc6b403bde /py/makecompresseddata.py
parent6d2680fa36696fd0b2fd7a595f4a26153cd84e07 (diff)
py/nlraarch64: Add underscore prefix to function symbols for Darwin ABI.
The proper way to do this is to test for __APPLE__ and __MACH__, where __APPLE__ tests for an Apple OS and __MACH__ tests that it is based on CMU Mach. Using both tests ensures that just Darwin (Apple's open source base for MacOS, iOS, etc.) is recognized. __APPLE__ by itself will test for any Apple OS, which can include older OS 7-9 and any future Apple OS. __MACH__ tests for any OS based on CMU Mach, including Darwin and GNU Hurd. Fixes #7232.
Diffstat (limited to 'py/makecompresseddata.py')
0 files changed, 0 insertions, 0 deletions