git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1505 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.0
Stéphane Fillod, F8CFE 2003-08-15 01:16:46 +00:00
rodzic d4e34e5f9d
commit 0b1c8b1c82
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -27,6 +27,13 @@ Cambridge, MA 02139, USA. */
# include <sys/select.h>
#endif
#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif
#ifdef HAVE_WINBASE_H
# include <winbase.h>
#endif
#ifdef apollo
# include <apollo/base.h>
# include <apollo/time.h>
@ -45,6 +52,9 @@ usleep (unsigned int useconds)
/* The usleep function does not work under the SYS5.3 environment.
Use the Domain/OS time_$wait call instead. */
time_$wait (time_$relative, DomainTime100mS, &DomainStatus);
#elif WIN32
Sleep( useconds/1000 );
return 0;
#else
struct timeval delay;