aarch64: fix malloc header on FreeBSD - #8
Conversation
|
also the upstream library has a different implementation https://github.com/byuu/higan/blob/master/libco/aarch64.c |
|
This should be merged, IMO. |
|
FYI: we are upgrading to the latest libco, and looks like we might be good with the original upstream version... still testing. can you help testing https://github.com/higan-emu/libco ? |
|
@edsiper @girgen That pr checks for POSIX_MEMALIGN using CMake as FreeBSD isn't the only thing that will break. |
|
+1 to that cmake check, but please add the |
|
@unrelentingtech I see, I'll put that in. |
|
@unrelentingtech fixed in monkey/monkey#340 |
|
This is duplicated by #10 which also supports Apple Silicon |
|
We can close this if it’s duplicated with 10 |
|
Yes this was fixed when I did the Apple silicon patch please retest thank you |
|
This seems to be fixed in the 1.9.0 release. |
It's actually weird that there's a check for
HAVE_POSIX_MEMALIGNbut it's not set by CMake… anyway, this is the minimal change to fix compilation