Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 7e7bf9a

Browse files
committed
Fix compile error on Mac arm-silicon
1 parent 94d4d6a commit 7e7bf9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/nitro_utils.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,10 @@ inline std::string generate_random_string(std::size_t length) {
195195
}
196196
return false;
197197
}
198+
#else
199+
inline bool isAVX2Supported() {
200+
return false;
201+
}
198202
#endif
199203

200204
inline void nitro_logo() {

0 commit comments

Comments
 (0)