aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-01-17 14:10:36 -0500
committerJack Lloyd <[email protected]>2017-01-17 14:10:36 -0500
commit7880efc3c8d714088c82f053b8123b81ad569737 (patch)
tree1cd0817be6df78b37aa965c5e8bc7fe6394fee0a /src
parent9dcf7c78c04c954cd1b49e80feb7478486c13531 (diff)
Fix for PowerPC
Diffstat (limited to 'src')
-rw-r--r--src/lib/utils/cpuid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/cpuid.cpp b/src/lib/utils/cpuid.cpp
index d905eff9c..325421d71 100644
--- a/src/lib/utils/cpuid.cpp
+++ b/src/lib/utils/cpuid.cpp
@@ -109,7 +109,7 @@ uint64_t powerpc_detect_cpu_featutures()
int error = sysctl(sels, 2, &vector_type, &length, NULL, 0);
if(error == 0 && vector_type > 0)
- return (1ULL << CPUID_ALTIVEC_BIT);
+ return (1ULL << CPUID::CPUID_ALTIVEC_BIT);
#elif defined(BOTAN_TARGET_OS_IS_LINUX) || defined(BOTAN_TARGET_OS_IS_NETBSD)
/*
@@ -145,7 +145,7 @@ uint64_t powerpc_detect_cpu_featutures()
pvr == PVR_POWER6 || pvr == PVR_POWER7 || pvr == PVR_POWER8 ||
pvr == PVR_CELL_PPU)
{
- return (1ULL << CPUID_ALTIVEC_BIT);
+ return (1ULL << CPUID::CPUID_ALTIVEC_BIT);
}
#else
#warning "No PowerPC feature detection available for this platform"