Fix Windows Phone compile (Issue 162)
parent
5c41ccb8fb
commit
b499b8ba65
2
config.h
2
config.h
|
|
@ -423,7 +423,7 @@ NAMESPACE_END
|
||||||
|
|
||||||
// Intrinsics availible in GCC 4.3 (http://gcc.gnu.org/gcc-4.3/changes.html) and
|
// Intrinsics availible in GCC 4.3 (http://gcc.gnu.org/gcc-4.3/changes.html) and
|
||||||
// MSVC 2008 (http://msdn.microsoft.com/en-us/library/bb892950%28v=vs.90%29.aspx)
|
// MSVC 2008 (http://msdn.microsoft.com/en-us/library/bb892950%28v=vs.90%29.aspx)
|
||||||
#if !defined(CRYPTOPP_DISABLE_SSE4) && ((_MSC_VER >= 1500) || defined(__SSE4_2__))
|
#if !defined(CRYPTOPP_DISABLE_SSE2) && !defined(CRYPTOPP_DISABLE_SSE4) && (((_MSC_VER >= 1500) && !defined(_M_ARM)) || defined(__SSE4_2__))
|
||||||
#define CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE 1
|
#define CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE 1
|
||||||
#else
|
#else
|
||||||
#define CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE 0
|
#define CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE 0
|
||||||
|
|
|
||||||
|
|
@ -423,7 +423,7 @@ NAMESPACE_END
|
||||||
|
|
||||||
// Intrinsics availible in GCC 4.3 (http://gcc.gnu.org/gcc-4.3/changes.html) and
|
// Intrinsics availible in GCC 4.3 (http://gcc.gnu.org/gcc-4.3/changes.html) and
|
||||||
// MSVC 2008 (http://msdn.microsoft.com/en-us/library/bb892950%28v=vs.90%29.aspx)
|
// MSVC 2008 (http://msdn.microsoft.com/en-us/library/bb892950%28v=vs.90%29.aspx)
|
||||||
#if !defined(CRYPTOPP_DISABLE_SSE4) && ((_MSC_VER >= 1500) || defined(__SSE4_2__))
|
#if !defined(CRYPTOPP_DISABLE_SSE2) && !defined(CRYPTOPP_DISABLE_SSE4) && (((_MSC_VER >= 1500) && !defined(_M_ARM)) || defined(__SSE4_2__))
|
||||||
#define CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE 1
|
#define CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE 1
|
||||||
#else
|
#else
|
||||||
#define CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE 0
|
#define CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue