From 32f2e6cc2e184bfdaa92a5d45a15983c896f6816 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Thu, 10 Apr 2025 13:28:05 +0200 Subject: [PATCH 17/17] fix: unary_function -> __unary_function --- src/cryptonote_basic/cryptonote_basic_impl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cryptonote_basic/cryptonote_basic_impl.h b/src/cryptonote_basic/cryptonote_basic_impl.h index b423573c5..a9aef7a2a 100644 --- a/src/cryptonote_basic/cryptonote_basic_impl.h +++ b/src/cryptonote_basic/cryptonote_basic_impl.h @@ -40,7 +40,11 @@ namespace cryptonote { /* */ /************************************************************************/ template +#ifdef __APPLE__ + struct array_hasher: std::__unary_function +#else struct array_hasher: std::unary_function +#endif { std::size_t operator()(const t_array& val) const { -- 2.49.0