diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2013-10-10 00:06:59 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2013-10-10 00:06:59 -0400 |
commit | 6c554d1e336d6263a0e1436690451566ce256abc (patch) | |
tree | ac7e561581d34e26d434dd1acca8393f8064813b /WWW | |
parent | 8aaad5e0afc0397953572ddf7f82ca2e9e74d7c5 (diff) | |
download | lynx-snapshots-6c554d1e336d6263a0e1436690451566ce256abc.tar.gz |
snapshot of project "lynx", label v2-8-8dev_16o
Diffstat (limited to 'WWW')
-rw-r--r-- | WWW/Library/Implementation/HTUtils.h | 9 |
1 files changed, 6 insertions, 3 deletions
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 <dos.h> #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 |