nspire-emus / firebird

Multi-platform emulator of TI Nspire calculators
GNU General Public License v3.0
665 stars 66 forks source link

#include <unistd.h> in #ifdef IS_IOS_BUILD in core/translate_aarch64.cpp #312

Closed dnevistic closed 1 year ago

dnevistic commented 1 year ago

I needed to add this include to core/translate_aarch64.cpp in order to use syscall() when compiling for my iphone 14 Pro Max on my M1 Pro Macbook using xcode 14.2:

ifdef IS_IOS_BUILD

#include

include <sys/syscall.h>

include <sys/mman.h>

endif

adriweb commented 1 year ago

Ah yep can confirm I had to do that too since relatively recently.

dnevistic commented 1 year ago

Thanks!!