summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jglaser <glaserj@ornl.gov>2020-07-17 17:33:20 -0400
committerGravatar GitHub <noreply@github.com>2020-07-17 17:33:20 -0400
commitea8a689cf5e71f31f96af78859eccc11161fa36a (patch)
treeea40cb620351a455049c146d76c6257931054a73
parent672d9e0aef6e856c1258d0810143d1f202d3204d (diff)
fix build on P9 (#739)
-rw-r--r--absl/random/internal/randen_hwaes.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/random/internal/randen_hwaes.cc b/absl/random/internal/randen_hwaes.cc
index 9966486f..b5a3f90a 100644
--- a/absl/random/internal/randen_hwaes.cc
+++ b/absl/random/internal/randen_hwaes.cc
@@ -150,6 +150,7 @@ struct alignas(16) u64x2 {
#include <altivec.h>
// <altivec.h> #defines vector __vector; in C++, this is bad form.
#undef vector
+#undef bool
// Rely on the PowerPC AltiVec vector operations for accelerated AES
// instructions. GCC support of the PPC vector types is described in: