chiark / gitweb /
fix #ifdef
[elogind.git] / src / journal / journal-file.c
index b6de502da8a7e2a36fa8d0e06ce7cfcf52ba2109..d3535d2fadcb2edad6756bc8915c93f76e09473b 100644 (file)
@@ -2476,7 +2476,7 @@ int journal_file_open(
         f->flags = flags;
         f->prot = prot_from_flags(flags);
         f->writable = (flags & O_ACCMODE) != O_RDONLY;
-#if defined(HAVE_LZ)
+#if defined(HAVE_LZ4)
         f->compress_lz4 = compress;
 #elif defined(HAVE_XZ)
         f->compress_xz = compress;