Skip to content

fix building on OpenBSD - #86

Open
ldoolitt wants to merge 1 commit into
DiamondLightSource:masterfrom
ldoolitt:master
Open

ldoolitt wants to merge 1 commit into
DiamondLightSource:masterfrom
ldoolitt:master

Conversation

@ldoolitt

Copy link
Copy Markdown

Add brain-dead support for OpenBSD in the tangle of ifdefs surrounding memalign().

Better would be for an SME to simplify the ifdefs, not add a new one.
But I'm not that SME.

Without this patch, attempting a pip install of cothreads on OpenBSD gives a build error:

context/cocore.c:37:10: fatal error: 'malloc.h' file not found

With this fix, pip install works, and the result is good enough to run cocotb.

Add brain-dead support for __OpenBSD__ in the tangle of ifdefs
surrounding memalign().

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant