aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/build-data/detect_version.cpp4
-rw-r--r--src/lib/utils/mul128.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/build-data/detect_version.cpp b/src/build-data/detect_version.cpp
index 12a5a707e..8e08c63b9 100644
--- a/src/build-data/detect_version.cpp
+++ b/src/build-data/detect_version.cpp
@@ -16,9 +16,9 @@
*/
MSVC _MSC_VER
-#elif defined(__xlC__)
+#elif defined(__ibmxl__)
- XLC __xlC__
+ XLC __ibmxl_version__ __ibmxl_release__
#elif defined(__clang__) && defined(__apple_build_version__)
diff --git a/src/lib/utils/mul128.h b/src/lib/utils/mul128.h
index 1e2808254..ce1ef693b 100644
--- a/src/lib/utils/mul128.h
+++ b/src/lib/utils/mul128.h
@@ -12,7 +12,7 @@
namespace Botan {
-#if defined(__SIZEOF_INT128__) && defined(BOTAN_TARGET_CPU_HAS_NATIVE_64BIT) && !defined(__xlc__)
+#if defined(__SIZEOF_INT128__) && defined(BOTAN_TARGET_CPU_HAS_NATIVE_64BIT)
#define BOTAN_TARGET_HAS_NATIVE_UINT128
// Prefer TI mode over __int128 as GCC rejects the latter in pendantic mode