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

Delays (Sleep, sleep, usleep) definitions #4

Open
abom opened this issue May 23, 2015 · 0 comments
Open

Delays (Sleep, sleep, usleep) definitions #4

abom opened this issue May 23, 2015 · 0 comments

Comments

@abom
Copy link
Owner

abom commented May 23, 2015

It raises an error saying that there are no reference for:
sleep(), usleep()... etc

This should be resolved by including <unistd.h> in the right header files (for *nix) or <windows.h>, and check for the current OS to specify when to use <windows.h> Sleep() or <unistd.h> sleep() (or even writing a macro 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

1 participant