Skip to content

Do not use "nanosleep" on windows at all (PLATFORM_DESKTOP_RGFW) #3970

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

Merged
merged 3 commits into from
May 9, 2024

Conversation

ColleagueRiley
Copy link
Contributor

An issue was found the RGFW platform while a user was trying to create bindings wherein mingw did not define nanosleep.

It turns out I was wrong in assuming that all distros of mingw support nanosleep.
This fixes the issue by never using nanosleep when compiling for windows.

Source issue: ColleagueRiley/RGFW#13

@ColleagueRiley ColleagueRiley reopened this May 9, 2024
@raysan5 raysan5 merged commit 8a5fd3a into raysan5:master May 9, 2024
26 checks passed
@raysan5
Copy link
Owner

raysan5 commented May 9, 2024

@ColleagueRiley thanks for the review!

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.

2 participants