summaryrefslogtreecommitdiff
path: root/ppc-simd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ppc-simd.cpp')
-rw-r--r--ppc-simd.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ppc-simd.cpp b/ppc-simd.cpp
index d4c43b56..3c216001 100644
--- a/ppc-simd.cpp
+++ b/ppc-simd.cpp
@@ -24,7 +24,7 @@
#endif
#if defined(CRYPTOPP_ALTIVEC_AVAILABLE)
-# include "altivec.h"
+# include <altivec.h>
# undef vector
# undef pixel
# undef bool
@@ -33,11 +33,11 @@
#if defined(CRYPTOPP_ALTIVEC_AVAILABLE)
# if defined(CRYPTOPP_XLC_VERSION)
// #include <builtins.h>
- typedef vector unsigned char uint8x16_p8;
- typedef vector unsigned long long uint64x2_p8;
+ typedef __vector unsigned char uint8x16_p8;
+ typedef __vector unsigned long long uint64x2_p8;
#elif defined(CRYPTOPP_GCC_VERSION)
- typedef vector unsigned char uint8x16_p8;
- typedef vector unsigned long long uint64x2_p8;
+ typedef __vector unsigned char uint8x16_p8;
+ typedef __vector unsigned long long uint64x2_p8;
#endif
#endif