diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-11-19 15:23:29 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-11-19 15:23:29 -0500 |
commit | 531ab7e8c506925f3242b7590156d6223144733e (patch) | |
tree | 2ec89c1dfe235a1e6e0dd66e561770b980ca7286 /ppc_simd.h | |
parent | 87565dce753d986afca1b5c67b7baaa5c1f39cdc (diff) | |
download | cryptopp-git-531ab7e8c506925f3242b7590156d6223144733e.tar.gz |
Update comments
Diffstat (limited to 'ppc_simd.h')
-rw-r--r-- | ppc_simd.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -32,8 +32,9 @@ # undef bool
#endif
-// IBM XLC on AIX does not define __CRYPTO__ like it should. More LLVM goodness.
-#if defined(_AIX) && defined(__xlC__)
+// IBM XLC on AIX does not define __CRYPTO__ like it should with -qarch=pwr8.
+// Crypto is available in XLC 13.1 and above. More LLVM front-end goodness.
+#if defined(_AIX) && defined(_ARCH_PWR8) && (__xlC__ >= 0xd01)
# undef __CRYPTO__
# define __CRYPTO__ 1
#endif
|