diff --git a/src/crypto/astrobwt/sort_indices2.cpp b/src/crypto/astrobwt/sort_indices2.cpp index 2d86d462..3a70f619 100644 --- a/src/crypto/astrobwt/sort_indices2.cpp +++ b/src/crypto/astrobwt/sort_indices2.cpp @@ -36,6 +36,9 @@ #define RESTRICT #endif +#ifndef __has_cpp_attribute +#define __has_cpp_attribute(x) 0 +#endif #if __has_cpp_attribute(unlikely) #define UNLIKELY(X) (X) [[unlikely]]