Skip to content

Conversation

@tritao
Copy link
Contributor

@tritao tritao commented Nov 14, 2024

Fixes #2328.

@nickclark2016
Copy link
Member

Do you have a FreeBSD VM or something where we can test the build?

@tritao
Copy link
Contributor Author

tritao commented Nov 14, 2024

Do you have a FreeBSD VM or something where we can test the build?

I don't and don't really have the disk space at the moment available to install one. I'm fairly sure this will be ok as unistd.h is already included in BSDs and this API is available on BSDs.

@Martinfx Would you be willing to confirm this patch works?

@tritao tritao marked this pull request as ready for review November 14, 2024 12:40
@Martinfx
Copy link

Do you have a FreeBSD VM or something where we can test the build?

yes. I have FreeBSD on desktop.

@Martinfx
Copy link

Do you have a FreeBSD VM or something where we can test the build?

I don't and don't really have the disk space at the moment available to install one. I'm fairly sure this will be ok as unistd.h is already included in BSDs and this API is available on BSDs.

@Martinfx Would you be willing to confirm this patch works?

Thank you. It works.

@nickclark2016 nickclark2016 merged commit ffcb779 into premake:master Nov 14, 2024
15 checks passed
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.

src/host/os_getnumcpus.c:59:11: error: use of undeclared identifier 'HW_AVAILCPU' on FreeBSD

4 participants