This does not (yet) implement the policies regarding path separators
that were recently hashed out on the libarchive-discuss mailing list.
SVN-Revision: 1479
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#ifdef HAVE_WINDOWS_H
+#if defined(HAVE_WINDOWS_H) && !defined(__CYGWIN__)
#include <windows.h>
#define DIRSEP '\\'
#else
struct tree_entry *current;
#if defined(HAVE_WINDOWS_H) && !defined(__CYGWIN__)
HANDLE d;
+ BY_HANDLE_FILE_INFORMATION fileInfo;
#define INVALID_DIR_HANDLE INVALID_HANDLE_VALUE
WIN32_FIND_DATA _findData;
WIN32_FIND_DATA *findData;
int openCount;
int maxOpenCount;
-#ifdef HAVE_WINDOWS_H
- BY_HANDLE_FILE_INFORMATION fileInfo;
-#endif
struct stat lst;
struct stat st;
};
return (&t->st);
}
-#if HAVE_WINDOWS_H
+#if defined(HAVE_WINDOWS_H) && !defined(__CYGWIN__)
const BY_HANDLE_FILE_INFORMATION *
tree_current_file_information(struct tree *t)
{