summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-21 15:16:29 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-21 15:18:50 (GMT)
commit0b82f51a308d2ae36a449e6a02a5117199da373a (patch)
tree502e34247c9bca63aa8205cab35f08586c99c59c /Utilities/cmlibarchive
parent5333c04cd046187dc10cd6576e8fdc1342753d36 (diff)
downloadCMake-0b82f51a308d2ae36a449e6a02a5117199da373a.zip
CMake-0b82f51a308d2ae36a449e6a02a5117199da373a.tar.gz
CMake-0b82f51a308d2ae36a449e6a02a5117199da373a.tar.bz2
libarchive: Guard bcyrpt.h with HAVE_BCRYPT_H
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_hmac_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_hmac_private.h b/Utilities/cmlibarchive/libarchive/archive_hmac_private.h
index 3e48bc3..6a8bbf2 100644
--- a/Utilities/cmlibarchive/libarchive/archive_hmac_private.h
+++ b/Utilities/cmlibarchive/libarchive/archive_hmac_private.h
@@ -35,7 +35,7 @@
typedef CCHmacContext archive_hmac_sha1_ctx;
-#elif defined(_WIN32) && !defined(__CYGWIN__)
+#elif defined(_WIN32) && !defined(__CYGWIN__) && defined(HAVE_BCRYPT_H)
#include <bcrypt.h>
typedef struct {