Skip to content

Commit c2b5f68

Browse files
committed
Librash: Additionally check for __SHA__
1 parent 61dd85b commit c2b5f68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

librhash/sha_ni.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#define SHA_NI_H
44

55
#if defined(RHASH_SSE4_SHANI) && !defined(RHASH_DISABLE_SHANI)
6-
# if defined(__GNUC__)
6+
# if defined(__GNUC__) && defined(__SHA__)
77
# define RHASH_GCC_SHANI
88
/* SHA extensions are supported by Visual Studio >= 2015 */
99
# elif (_MSC_VER >= 1900)

0 commit comments

Comments
 (0)