diff options
-rw-r--r-- | build_posix/configure.ac.in | 4 | ||||
-rw-r--r-- | src/checksum/zseries/crc32-s390x.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/build_posix/configure.ac.in b/build_posix/configure.ac.in index 154d850df45..00aa0bc9f95 100644 --- a/build_posix/configure.ac.in +++ b/build_posix/configure.ac.in @@ -59,9 +59,7 @@ AS_CASE([$host_cpu], [wt_cv_powerpc="no"]) AM_CONDITIONAL([POWERPC_HOST], [test "$wt_cv_powerpc" = "yes"]) AS_CASE([$host_cpu], - [amd*], [wt_cv_x86="yes"], - [x86*], [wt_cv_x86="yes"], - [wt_cv_x86="no"]) + [amd*|i[[3456]]86*|pentium|x86*], [wt_cv_x86="yes"], [wt_cv_x86="no"]) AM_CONDITIONAL([X86_HOST], [test "$wt_cv_x86" = "yes"]) AS_CASE([$host_cpu], [s390x*], [wt_cv_zseries="yes"], diff --git a/src/checksum/zseries/crc32-s390x.c b/src/checksum/zseries/crc32-s390x.c index 8df3335fd78..daf7ce06c53 100644 --- a/src/checksum/zseries/crc32-s390x.c +++ b/src/checksum/zseries/crc32-s390x.c @@ -12,7 +12,7 @@ #include "slicing-consts.h" #define VX_MIN_LEN 64 -#define VX_ALIGNMENT 16L +#define VX_ALIGNMENT 16UL #define VX_ALIGN_MASK (VX_ALIGNMENT - 1) /* Prototypes for functions in assembly files */ |