X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Futils.c;h=937eb57f3712f4341908b77c6d668a2913c75148;hp=0a222d997925fb8b5e4538d58ab3e825ee853032;hb=df8b19a28eee02f23178584737080001ce8873d1;hpb=a5ac5eaee8c0e40955e91a23bcaa107c7abc087e diff --git a/src/utils.c b/src/utils.c index 0a222d99..937eb57f 100644 --- a/src/utils.c +++ b/src/utils.c @@ -287,9 +287,9 @@ datetime_str (time_t t) } /* The Windows versions of the following two functions are defined in - mswindows.c. */ + mswindows.c. On MSDOS this function should never be called. */ -#ifndef WINDOWS +#if !defined(WINDOWS) && !defined(MSDOS) void fork_to_background (void) { @@ -333,7 +333,7 @@ fork_to_background (void) freopen ("/dev/null", "w", stdout); freopen ("/dev/null", "w", stderr); } -#endif /* not WINDOWS */ +#endif /* !WINDOWS && !MSDOS */ /* "Touch" FILE, i.e. make its mtime ("modified time") equal the time specified with TM. The atime ("access time") is set to the current