aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/simd_32/simd_sse.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-16 00:32:49 +0000
committerlloyd <[email protected]>2009-12-16 00:32:49 +0000
commit87cbaef441c6baba2699a8ea53ac2562c46c772d (patch)
treea61455bcb4de0e0eab34953f7a53a84b512f34d3 /src/utils/simd_32/simd_sse.h
parent076afc21c2b775d2658f33086b890255f6f2c70f (diff)
Full working amalgamation build, plus internal-only headers concept.
Diffstat (limited to 'src/utils/simd_32/simd_sse.h')
-rw-r--r--src/utils/simd_32/simd_sse.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils/simd_32/simd_sse.h b/src/utils/simd_32/simd_sse.h
index 9f03b3733..31bbce2c7 100644
--- a/src/utils/simd_32/simd_sse.h
+++ b/src/utils/simd_32/simd_sse.h
@@ -8,8 +8,9 @@
#ifndef BOTAN_SIMD_SSE_H__
#define BOTAN_SIMD_SSE_H__
-#include <botan/cpuid.h>
+#if defined(BOTAN_TARGET_CPU_HAS_SSE2)
+#include <botan/cpuid.h>
#include <emmintrin.h>
namespace Botan {
@@ -159,3 +160,5 @@ class SIMD_SSE2
}
#endif
+
+#endif