From 6c554d1e336d6263a0e1436690451566ce256abc Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 10 Oct 2013 00:06:59 -0400 Subject: snapshot of project "lynx", label v2-8-8dev_16o --- WWW/Library/Implementation/HTUtils.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'WWW') diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h index 8e713520..27086a4e 100644 --- a/WWW/Library/Implementation/HTUtils.h +++ b/WWW/Library/Implementation/HTUtils.h @@ -1,5 +1,5 @@ /* - * $LynxId: HTUtils.h,v 1.117 2013/10/08 20:13:41 tom Exp $ + * $LynxId: HTUtils.h,v 1.118 2013/10/10 00:06:59 tom Exp $ * * Utility macros for the W3 code library * MACROS FOR GENERAL USE @@ -226,13 +226,16 @@ extern off_t LYatoll(const char *value); #include #endif -#if defined(DECL_SLEEP) -#undef sleep /* 1998/06/23 (Tue) 16:54:53 */ +#if defined(DECL_SLEEP) && defined(HAVE_CONFIG_H) +# undef sleep # if defined(__MINGW32__) # define sleep(n) Sleep((n)*100) # else extern void sleep(unsigned __seconds); # endif +#elif !defined(__MINGW32__) +# undef sleep +extern void sleep(unsigned __seconds); #endif #define popen _popen -- cgit 1.4.1-2-gfad0