mirror of
https://github.com/BLAKE2/libb2
synced 2024-11-23 00:32:03 +01:00
Merge pull request #42 from shadchin/fix_build_with_clang
Fix build with Clang
This commit is contained in:
commit
6fafe5c546
@ -27,7 +27,7 @@
|
||||
#if defined(HAVE_SSE2)
|
||||
#include <emmintrin.h>
|
||||
// MSVC only defines _mm_set_epi64x for x86_64...
|
||||
#if defined(_MSC_VER) && !defined(_M_X64)
|
||||
#if defined(_MSC_VER) && !defined(_M_X64) && !defined(__clang__)
|
||||
static inline __m128i _mm_set_epi64x( const uint64_t u1, const uint64_t u0 )
|
||||
{
|
||||
return _mm_set_epi32( u1 >> 32, u1, u0 >> 32, u0 );
|
||||
|
@ -27,7 +27,7 @@
|
||||
#if defined(HAVE_SSE2)
|
||||
#include <emmintrin.h>
|
||||
// MSVC only defines _mm_set_epi64x for x86_64...
|
||||
#if defined(_MSC_VER) && !defined(_M_X64)
|
||||
#if defined(_MSC_VER) && !defined(_M_X64) && !defined(__clang__)
|
||||
static inline __m128i _mm_set_epi64x( const uint64_t u1, const uint64_t u0 )
|
||||
{
|
||||
return _mm_set_epi32( u1 >> 32, u1, u0 >> 32, u0 );
|
||||
|
Loading…
Reference in New Issue
Block a user