Browse Source

libarchive: Guard bcyrpt.h with HAVE_BCRYPT_H

Brad King 10 years ago
parent
commit
0b82f51a30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Utilities/cmlibarchive/libarchive/archive_hmac_private.h

+ 1 - 1
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 {