X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fmswindows.h;h=4f505d8002f5ea3700e6b2ea7e9ef416755f4e40;hp=72fe8e96abe2caad70185fcaa70e8c40ea35590d;hb=700df4394ec8739943966d8860913cc9363741cf;hpb=d0c434771038a294962bcf704d9cee88e35be133 diff --git a/src/mswindows.h b/src/mswindows.h index 72fe8e96..4f505d80 100644 --- a/src/mswindows.h +++ b/src/mswindows.h @@ -125,14 +125,24 @@ so, delete this exception statement from your version. */ #define ESTALE WSAESTALE #define EREMOTE WSAEREMOTE +#ifdef __DMC__ +# define HAVE_SLEEP 1 +# define HAVE_USLEEP 1 +#endif + /* Public functions. */ +#ifndef HAVE_SLEEP unsigned int sleep (unsigned); +#endif +#ifndef HAVE_USLEEP +int usleep (unsigned long); +#endif + void ws_startup (void); void ws_changetitle (char*, int); char *ws_mypath (void); void ws_help (const char *); void windows_main_junk (int *, char **, char **); -int usleep (unsigned long); #endif /* MSWINDOWS_H */