]> 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 9a7a97f064a99890145a05eded2fbe534144132d..4f505d8002f5ea3700e6b2ea7e9ef416755f4e40 100644 (file)
@@ -125,9 +125,20 @@ 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);