Explorar o código

libarchive: Guard bcyrpt.h with HAVE_BCRYPT_H

Brad King %!s(int64=10) %!d(string=hai) anos
pai
achega
0b82f51a30
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {