Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore support for MacOS < 10.15 #2547

Open
distler opened this issue May 27, 2024 · 1 comment
Open

Restore support for MacOS < 10.15 #2547

distler opened this issue May 27, 2024 · 1 comment

Comments

@distler
Copy link

distler commented May 27, 2024

Commit ccc753d removed support for MacOS < 10.15 because of the use of aligned_alloc. This could be worked around by

#if PRE_HIGH_SIERRA
	posix_memalign((void **) &buf, alignof(struct mbuf_block), size);
#else
	buf = (char *) aligned_alloc(alignof(struct mbuf_block), size);
#endif

in src/cxx_supportlib/MemoryKit/mbuf.cpp (two instances) and reverting some of the "code-cleanup" in Commit a067758.

@distler
Copy link
Author

distler commented Aug 2, 2024

A patch (against 6.0.23): macos.patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant