diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2014-07-24 22:30:44 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2014-07-24 22:30:44 -0400 |
commit | cbe90040d54b4a8855e1b0e4355676816a4e1fd3 (patch) | |
tree | e3d6f3c19c1764e5972241ebcba2aa7b39ce2468 /src/LYUtils.c | |
parent | ac88d77df17bca4e43b023e20c8343b2f28f0ea7 (diff) | |
download | lynx-snapshots-cbe90040d54b4a8855e1b0e4355676816a4e1fd3.tar.gz |
snapshot of project "lynx", label v2-8-9dev_1b
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r-- | src/LYUtils.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c index f4f97b7e..4d6c01f6 100644 --- a/src/LYUtils.c +++ b/src/LYUtils.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYUtils.c,v 1.266 2014/03/09 14:27:06 tom Exp $ + * $LynxId: LYUtils.c,v 1.268 2014/07/24 22:30:44 tom Exp $ */ #include <HTUtils.h> #include <HTTCP.h> @@ -42,6 +42,8 @@ extern int kbhit(void); /* FIXME: use conio.h */ #if !defined(kbhit) && defined(_WCONIO_DEFINED) #define kbhit() _kbhit() /* reasonably recent conio.h */ #endif +#elif defined(__minix) +#include <termios.h> /* for struct winsize */ #endif /* __MINGW32__ */ @@ -4584,7 +4586,7 @@ int win32_check_interrupt(void) return FALSE; } -#if (!defined(__MINGW32__) && !defined(sleep)) || (defined(__MINGW32__) && !HAVE_SLEEP) +#if (defined(__MINGW32__) && !defined(HAVE_SLEEP)) void sleep(unsigned sec) { unsigned int i, j; @@ -7856,7 +7858,7 @@ void get_clip_release() char *w32_strerror(DWORD ercode) { /* __declspec(thread) necessary if you will use multiple threads */ -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) || defined(__MINGW32__) static char msg_buff[256]; #else |