diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-08-31 12:16:36 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-08-31 12:16:36 +0000 |
commit | 8b7c561b9fa09f5a2cc1cbf85eb1870c4ec1b7de (patch) | |
tree | 9d0c2c9a8ac098ddf73bb5eedac23fdafc8e907d /src | |
parent | d4453441f12a26c273c6bd8bcfa1b3f76889a884 (diff) |
Fixed WIN32 FTBFS
Diffstat (limited to 'src')
-rw-r--r-- | src/htscore.c | 2 |
1 files changed, 2 insertions, 0 deletions
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]; |