Fix OS X compile with Clang 6.0
parent
4952fa489d
commit
392ec3465e
9
misc.h
9
misc.h
|
|
@ -77,8 +77,17 @@
|
|||
|
||||
#if defined(__BMI__)
|
||||
# include <x86intrin.h>
|
||||
# include <immintrin.h>
|
||||
#endif // GCC and BMI
|
||||
|
||||
// More LLVM bullshit
|
||||
#if defined(__clang__)
|
||||
# define _blsr_u32 __blsr_u32
|
||||
# define _blsr_u64 __blsr_u64
|
||||
# define _tzcnt_u32 __tzcnt_u32
|
||||
# define _tzcnt_u64 __tzcnt_u64
|
||||
#endif
|
||||
|
||||
#endif // CRYPTOPP_DOXYGEN_PROCESSING
|
||||
|
||||
#if CRYPTOPP_DOXYGEN_PROCESSING
|
||||
|
|
|
|||
Loading…
Reference in New Issue