aboutsummaryrefslogtreecommitdiff
path: root/linux/lib
diff options
context:
space:
mode:
Diffstat (limited to 'linux/lib')
-rw-r--r--linux/lib/decompress_unxz.c2
-rw-r--r--linux/lib/xz/xz_stream.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/lib/decompress_unxz.c b/linux/lib/decompress_unxz.c
index 4e9c860..880f301 100644
--- a/linux/lib/decompress_unxz.c
+++ b/linux/lib/decompress_unxz.c
@@ -128,7 +128,7 @@
* Use the internal CRC32 code instead of kernel's CRC32 module, which
* is not available in early phase of booting.
*/
-#define XZ_INTERNAL_CRC32
+#define XZ_INTERNAL_CRC32 1
/*
* Ignore the configuration specified in the kernel config for the xz_dec
diff --git a/linux/lib/xz/xz_stream.h b/linux/lib/xz/xz_stream.h
index bb70b09..5b9318b 100644
--- a/linux/lib/xz/xz_stream.h
+++ b/linux/lib/xz/xz_stream.h
@@ -10,7 +10,7 @@
#ifndef XZ_STREAM_H
#define XZ_STREAM_H
-#if defined(__KERNEL__) && !defined(XZ_INTERNAL_CRC32)
+#if defined(__KERNEL__) && !XZ_INTERNAL_CRC32
# include <linux/crc32.h>
# undef crc32
# define xz_crc32(buf, size, crc) \