]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Define ARCHIVE_CRYPTOR_USE_Apple_CommonCrypto to 1
authorTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 9 Jul 2025 20:55:12 +0000 (22:55 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 9 Jul 2025 20:55:12 +0000 (22:55 +0200)
All other define statements set a value. Set one here as well for
maximum compatibility.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
libarchive/archive_cryptor_private.h

index 573a617e1f06c5bf9ae1e972c9bff7cc5f52ec0b..1dbc5c17a01aca4cb114907aff5270d2e12a77e2 100644 (file)
@@ -43,7 +43,7 @@ int __libarchive_cryptor_build_hack(void);
 #ifdef __APPLE__
 # include <AvailabilityMacros.h>
 # if MAC_OS_X_VERSION_MAX_ALLOWED >= 1080
-#  define ARCHIVE_CRYPTOR_USE_Apple_CommonCrypto
+#  define ARCHIVE_CRYPTOR_USE_Apple_CommonCrypto 1
 # endif
 #endif