diff options
author | Brad King <brad.king@kitware.com> | 2014-04-03 19:18:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-04-03 19:20:53 (GMT) |
commit | 8088332178a9fb082dd387beae9b1f262615a228 (patch) | |
tree | da69947bc0aad80e203cc649160be3258a586ec6 /Utilities/cmlibarchive | |
parent | dfb0458e5bb3444db506c0891d6c78ac678e4017 (diff) | |
download | CMake-8088332178a9fb082dd387beae9b1f262615a228.zip CMake-8088332178a9fb082dd387beae9b1f262615a228.tar.gz CMake-8088332178a9fb082dd387beae9b1f262615a228.tar.bz2 |
libarchive: Do not require includers to have windows.h
In archive_entry.h refer to "BY_HANDLE_FILE_INFORMATION *" using
"struct _BY_HANDLE_FILE_INFORMATION *" to avoid requiring the
includer to already have <windows.h>.
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_entry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_entry.h b/Utilities/cmlibarchive/libarchive/archive_entry.h index 20d709b..efc4d73 100644 --- a/Utilities/cmlibarchive/libarchive/archive_entry.h +++ b/Utilities/cmlibarchive/libarchive/archive_entry.h @@ -247,7 +247,7 @@ __LA_DECL int archive_entry_is_encrypted(struct archive_entry *); __LA_DECL void archive_entry_set_atime(struct archive_entry *, time_t, long); __LA_DECL void archive_entry_unset_atime(struct archive_entry *); #if defined(_WIN32) && !defined(__CYGWIN__) -__LA_DECL void archive_entry_copy_bhfi(struct archive_entry *, BY_HANDLE_FILE_INFORMATION *); +__LA_DECL void archive_entry_copy_bhfi(struct archive_entry *, struct _BY_HANDLE_FILE_INFORMATION *); #endif __LA_DECL void archive_entry_set_birthtime(struct archive_entry *, time_t, long); __LA_DECL void archive_entry_unset_birthtime(struct archive_entry *); |