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

Undefined reference for sleep(0) #4

Closed
alieslam opened this issue Jan 16, 2019 · 3 comments
Closed

Undefined reference for sleep(0) #4

alieslam opened this issue Jan 16, 2019 · 3 comments

Comments

@alieslam
Copy link
Contributor

For windows os, sleep should be Sleep with 'S' upper case, which is defined under windows.h

#define TASK_YIELD() sleep(0)

@lexus2k
Copy link
Owner

lexus2k commented Jan 17, 2019

Hello,

I checked against another my library, and confirm, for Mingw sleep should be Sleep().
Thank you

@lexus2k
Copy link
Owner

lexus2k commented Jan 22, 2019

Did you check 53192fa commit?

@alieslam
Copy link
Contributor Author

Nope! sorry for that 😬

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

2 participants