]> sjero.net Git - wget/blobdiff - src/mswindows.h
[svn] Fixes to support out of the box compilation on various Windows compilers.
[wget] / src / mswindows.h
index 72fe8e96abe2caad70185fcaa70e8c40ea35590d..4f505d8002f5ea3700e6b2ea7e9ef416755f4e40 100644 (file)
@@ -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 */