Skip to content

Conversation

@mmicko
Copy link
Contributor

@mmicko mmicko commented Jan 28, 2026

Adds a proper guard for pthread on mingw that works correctly for C and C++ compilers (#if defined(_WIN32) && !defined(__MINGW32__))
Also guards are fixed for nanosleep since that one exists on mingw.

Upstreaming recent compile fixes so all works on WASI platform as well.
Note that sys/wait.h was removed on couple of places since nothing from it was used and it does not exist on this platform

@mmicko mmicko changed the title WASI compile fixes (from YosysHQ fork) MINGW and WASI compile fixes (from YosysHQ fork) Jan 29, 2026
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