diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2013-07-29 00:56:09 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2013-07-29 00:56:09 -0400 |
commit | f075bbffd23155cd111ddd6e61b5c8af74381fda (patch) | |
tree | 425c38c82e3388004dcfb1bd6238633863c6c4aa /src | |
parent | e16dad6521b5662ea017de8b639301bd996415c7 (diff) | |
download | lynx-snapshots-f075bbffd23155cd111ddd6e61b5c8af74381fda.tar.gz |
snapshot of project "lynx", label v2-8-8dev-15j
Diffstat (limited to 'src')
-rw-r--r-- | src/LYGlobalDefs.h | 6 | ||||
-rw-r--r-- | src/LYUtils.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/LYGlobalDefs.h b/src/LYGlobalDefs.h index f7154528..4d6a3fc8 100644 --- a/src/LYGlobalDefs.h +++ b/src/LYGlobalDefs.h @@ -1,5 +1,5 @@ /* - * $LynxId: LYGlobalDefs.h,v 1.135 2013/05/30 00:00:31 tom Exp $ + * $LynxId: LYGlobalDefs.h,v 1.136 2013/07/29 00:29:14 tom Exp $ * * global variable definitions */ @@ -666,9 +666,7 @@ extern "C" { #endif #if defined(__CYGWIN__) - extern void cygwin_conv_to_full_win32_path(char *posix, char *dos); - extern void cygwin_conv_to_full_posix_path(char *dos, char *posix); - extern int setmode(int handle, int amode); +#include <io.h> #endif #if !defined(__CYGWIN__) && defined(__CYGWIN32__) diff --git a/src/LYUtils.c b/src/LYUtils.c index a84d08c9..88fbf275 100644 --- a/src/LYUtils.c +++ b/src/LYUtils.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYUtils.c,v 1.240 2013/07/21 00:40:35 tom Exp $ + * $LynxId: LYUtils.c,v 1.242 2013/07/29 00:33:32 tom Exp $ */ #include <HTUtils.h> #include <HTTCP.h> @@ -4524,6 +4524,7 @@ int win32_check_interrupt(void) return FALSE; } +#if !defined(__MINGW32__) void sleep(unsigned sec) { unsigned int i, j; @@ -4538,7 +4539,8 @@ void sleep(unsigned sec) } } } -#endif +#endif /* !__MINGW32__ */ +#endif /* _WINDOWS */ /* * This function rewrites and reallocates a previously allocated string so that @@ -7321,7 +7323,7 @@ int Cygwin_Shell(void) 0, 0, &startUpInfo, &procInfo); if (!code) { - printf("shell = [%s], code = %ld\n", shell, GetLastError()); + printf("shell = [%s], code = %ld\n", shell, (long) GetLastError()); } /* wait for the child to return (this is not a requirement |