]> git.ipfire.org Git - thirdparty/systemd.git/commit
compression: add separate pre-processor definitions
authorLuca Boccassi <bluca@debian.org>
Tue, 19 Apr 2022 14:23:53 +0000 (16:23 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 19 Apr 2022 21:18:19 +0000 (23:18 +0200)
commitda13d2ca0731b413841663052f2cc6832a855334
tree3a4a0b04a00fd5e894ab31a7df387984eaa43f1b
parent3603f15171bbc2d650a8942714f6a6a900fb7c60
compression: add separate pre-processor definitions

Follow-up for https://github.com/systemd/systemd/commit/cd3c6322dbc6370448bafc216ee4e19e32a79d9e

journal-def.h should be self-contained too, as it represents the journal object ABI.
Duplicate the enums, as they also need to be in config.h for it to be self-contained,
and enums are not available to the preprocessor. Use an assert to ensure they don't
diverge.
meson.build
src/libsystemd/sd-journal/compress.h
src/libsystemd/sd-journal/journal-def.h
src/libsystemd/sd-journal/journal-file.c