From 8b7c561b9fa09f5a2cc1cbf85eb1870c4ec1b7de Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Sat, 31 Aug 2013 12:16:36 +0000 Subject: Fixed WIN32 FTBFS --- src/htscore.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/htscore.c b/src/htscore.c index b81b0c6..b6ca8c3 100644 --- a/src/htscore.c +++ b/src/htscore.c @@ -2960,6 +2960,7 @@ static void postprocess_file(httrackp * opt, const char *save, const char *adr, "wb"); (void) unlink(fconcat(OPT_GET_BUFF(opt), StringBuff(opt->path_html), "index.eml")); +#ifndef _WIN32 if (symlink("index.mht", fconcat(OPT_GET_BUFF(opt), StringBuff(opt->path_html), "index.eml")) != 0) { @@ -2968,6 +2969,7 @@ static void postprocess_file(httrackp * opt, const char *save, const char *adr, "could not create symbolic link from index.mht to index.eml"); } } +#endif if (opt->state.mimefp != NULL) { char BIGSTK rndtmp[1024], currtime[256]; -- cgit v1.2.3