diff options
author | Brad King <brad.king@kitware.com> | 2018-08-06 13:45:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-06 13:47:42 (GMT) |
commit | 0a3912112d11514ba1652423e21a767507ce75fb (patch) | |
tree | 91c973b47790ebeab1ceb91876aadb4f08c8557b /Utilities/cmliblzma/config.h.in | |
parent | d7a1bcd2e67e27d8897c100f14744547ef639d64 (diff) | |
download | CMake-0a3912112d11514ba1652423e21a767507ce75fb.zip CMake-0a3912112d11514ba1652423e21a767507ce75fb.tar.gz CMake-0a3912112d11514ba1652423e21a767507ce75fb.tar.bz2 |
liblzma: Revert "Avoid defining a 'restrict' macro"
Revert commit v3.1.0-rc1~255^2~2 (liblzma: Avoid defining a 'restrict'
macro, 2014-07-24). We will use another approach to deal with the
'restrict' keyword.
Diffstat (limited to 'Utilities/cmliblzma/config.h.in')
-rw-r--r-- | Utilities/cmliblzma/config.h.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Utilities/cmliblzma/config.h.in b/Utilities/cmliblzma/config.h.in index 9c53150..7ad70c6 100644 --- a/Utilities/cmliblzma/config.h.in +++ b/Utilities/cmliblzma/config.h.in @@ -189,12 +189,10 @@ typedef uint64_t uintmax_t; #ifndef HAVE_RESTRICT # ifdef HAVE___RESTRICT -# define LZMA_RESTRICT __restrict +# define restrict __restrict # else -# define LZMA_RESTRICT +# define restrict # endif -#else -# define LZMA_RESTRICT restrict #endif /* HAVE_RESTRICT */ #ifndef HAVE_INLINE |