aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/simd_32/simd_altivec.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_altivec.h
parent076afc21c2b775d2658f33086b890255f6f2c70f (diff)
Full working amalgamation build, plus internal-only headers concept.
Diffstat (limited to 'src/utils/simd_32/simd_altivec.h')
-rw-r--r--src/utils/simd_32/simd_altivec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/simd_32/simd_altivec.h b/src/utils/simd_32/simd_altivec.h
index e1704e76c..9cc5c1068 100644
--- a/src/utils/simd_32/simd_altivec.h
+++ b/src/utils/simd_32/simd_altivec.h
@@ -8,6 +8,8 @@
#ifndef BOTAN_SIMD_ALTIVEC_H__
#define BOTAN_SIMD_ALTIVEC_H__
+#if defined(BOTAN_TARGET_CPU_HAS_ALTIVEC)
+
#include <botan/loadstor.h>
#include <botan/cpuid.h>
@@ -207,3 +209,5 @@ class SIMD_Altivec
}
#endif
+
+#endif