summaryrefslogtreecommitdiff
path: root/Utilities/cmliblzma/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmliblzma/config.h.in')
-rw-r--r--Utilities/cmliblzma/config.h.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Utilities/cmliblzma/config.h.in b/Utilities/cmliblzma/config.h.in
index 391bb8754b..b197f2786a 100644
--- a/Utilities/cmliblzma/config.h.in
+++ b/Utilities/cmliblzma/config.h.in
@@ -188,10 +188,12 @@ typedef uint64_t uintmax_t;
#ifndef HAVE_RESTRICT
# ifdef HAVE___RESTRICT
-# define restrict __restrict
+# define LZMA_RESTRICT __restrict
# else
-# define restrict
+# define LZMA_RESTRICT
# endif
+#else
+# define LZMA_RESTRICT restrict
#endif /* HAVE_RESTRICT */
#ifndef HAVE_INLINE