diff options
author | Brad King <brad.king@kitware.com> | 2015-04-01 15:06:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-01 15:06:40 (GMT) |
commit | 50806a1e26e536bb5cff1d3f1768211a867de8cf (patch) | |
tree | 88ce9b8a456a8797f7371e2d2f5434afbf58ba6a | |
parent | 94d3988c3f75e41b750092a76c01713dc25d33fd (diff) | |
parent | af61d6cb60a38069fb82f54bd7f2eb2b798bf4dc (diff) | |
download | CMake-50806a1e26e536bb5cff1d3f1768211a867de8cf.zip CMake-50806a1e26e536bb5cff1d3f1768211a867de8cf.tar.gz CMake-50806a1e26e536bb5cff1d3f1768211a867de8cf.tar.bz2 |
Merge branch 'fix-liblzma-access-alignment' into release
-rw-r--r-- | Utilities/cmliblzma/config.h.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Utilities/cmliblzma/config.h.in b/Utilities/cmliblzma/config.h.in index 017c435..9c53150 100644 --- a/Utilities/cmliblzma/config.h.in +++ b/Utilities/cmliblzma/config.h.in @@ -280,4 +280,10 @@ typedef uint64_t uintmax_t; /* Define to 1 if the system supports fast unaligned access to 16-bit and 32-bit integers. */ -#define TUKLIB_FAST_UNALIGNED_ACCESS 1 +#if defined(__i386) || defined(__i386__) || defined(_M_IX86) \ + || defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) \ + || defined(__amd64) || defined(__amd64__) \ + || defined(__powerpc) || defined(__powerpc__) \ + || defined(__ppc) || defined(__ppc__) || defined(__POWERPC__) +# define TUKLIB_FAST_UNALIGNED_ACCESS 1 +#endif |