Merge branch 'unstable' of ssh://guacamole.git.sourceforge.net/gitroot/guacamole/libguac-client-vnc into unstable
This commit is contained in:
commit
0d4e4ceb15
@ -226,10 +226,10 @@ void vnc_guac_client_sleep(int millis) {
|
|||||||
sleep_period.tv_nsec = millis * 1000000L;
|
sleep_period.tv_nsec = millis * 1000000L;
|
||||||
|
|
||||||
nanosleep(&sleep_period, NULL);
|
nanosleep(&sleep_period, NULL);
|
||||||
#else
|
#elif defined(__MINGW32__)
|
||||||
#ifdef Sleep
|
|
||||||
Sleep(millis)
|
Sleep(millis)
|
||||||
#endif
|
#else
|
||||||
|
#warning No sleep/nanosleep function available. VNC client may not perform as expected. Consider editing the vnc_client.c to add support for your platform.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user