diff options
author | lloyd <[email protected]> | 2010-12-22 16:43:43 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-12-22 16:43:43 +0000 |
commit | 2aee2f41ae3ef320ee91d59081c0b4d9973d5191 (patch) | |
tree | 0765312c4b941812b39b6be94d222af3ff7a0898 /src/utils/simd_32/simd_32.h | |
parent | a7b700aa96991b3ee4a5363ff977a39d66c2efdd (diff) |
If the user defines BOTAN_NO_SSE_INTRINSICS, avoid including
intrinsics headers in header files. This is particularly useful for
allowing code that will be compiled by nvcc to include loadstor.h,
but might be useful in other situations as well.
Diffstat (limited to 'src/utils/simd_32/simd_32.h')
-rw-r--r-- | src/utils/simd_32/simd_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/simd_32/simd_32.h b/src/utils/simd_32/simd_32.h index 15be7713d..9ea565402 100644 --- a/src/utils/simd_32/simd_32.h +++ b/src/utils/simd_32/simd_32.h @@ -10,7 +10,7 @@ #include <botan/types.h> -#if defined(BOTAN_TARGET_CPU_HAS_SSE2) +#if defined(BOTAN_TARGET_CPU_HAS_SSE2) && !defined(BOTAN_NO_SSE_INTRINSICS) #include <botan/internal/simd_sse.h> namespace Botan { typedef SIMD_SSE2 SIMD_32; } |