Commit 64b5118c authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: More cygwin fixes

parent 6946eb20
......@@ -78,7 +78,7 @@ tar_append_file(TAR *t, char *realname, char *savename)
(savename ? savename : "[NULL]"));
#endif
#ifdef WIN32
#if defined(_WIN32) && !defined(__CYGWIN__)
if (stat(realname, &s) != 0)
#else
if (lstat(realname, &s) != 0)
......@@ -157,7 +157,7 @@ tar_append_file(TAR *t, char *realname, char *savename)
/* check if it's a symlink */
if (TH_ISSYM(t))
{
#ifdef WIN32
#if defined(_WIN32) && !defined(__CYGWIN__)
i = -1;
#else
i = readlink(realname, path, sizeof(path));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment