diff --git a/libs/cryptoplus/src/integer.cpp b/libs/cryptoplus/src/integer.cpp index 5a3db9f8..bd37e93f 100644 --- a/libs/cryptoplus/src/integer.cpp +++ b/libs/cryptoplus/src/integer.cpp @@ -54,7 +54,7 @@ namespace namespace cryptoplus { -#ifdef BSD +#if defined(MACINTOSH) || defined(BSD) template <> asn1::integer::deleter_type pointer_wrapper::deleter; #endif diff --git a/libs/cryptoplus/src/utctime.cpp b/libs/cryptoplus/src/utctime.cpp index c6038dc2..35b2de66 100644 --- a/libs/cryptoplus/src/utctime.cpp +++ b/libs/cryptoplus/src/utctime.cpp @@ -51,7 +51,7 @@ namespace cryptoplus { -#ifdef BSD +#if defined(MACINTOSH) || defined(BSD) template <> asn1::utctime::deleter_type pointer_wrapper::deleter; #endif