summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vec_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vec_test.h b/vec_test.h
index 4db1d46..c7c00af 100644
--- a/vec_test.h
+++ b/vec_test.h
@@ -393,7 +393,7 @@ namespace vecmathlib {
// GCC crashes when +X is used as constraint
# if defined __SSE2__
for (int d=0; d<size; ++d) __asm__("": "+x" (v[d]));
-# elif defined _ARCH_PPC64 // __ALTIVEC__
+# elif defined __PPC64__ // __ALTIVEC__
for (int d=0; d<size; ++d) __asm__("": "+f" (v[d]));
# else
# error "Floating point barrier undefined on this architecture"
OpenPOWER on IntegriCloud