Closed notpeelz closed 2 months ago
Hello, thank you for your contributions! Could you please create a separate PR for each change (item in your description)?
I initially had them as separate commits, but decided to squash them because the changes are tightly coupled. I'll try to split them into stacked PRs.
Change #2
split into #454
Change #1
split into #455 (depends on #454)
I'll make a new PR for change #3
once #454 is merged, so to avoid unnecessary merge conflicts.
I removed feature test macro definitions (i.e
_GNU_SOURCE
/_XOPEN_SOURCE
) from polkitbackend because_GNU_SOURCE
is already defined in the root meson.build. Explicitly defining_XOPEN_SOURCE
is redundant because_GNU_SOURCE
implies_XOPEN_SOURCE 700
(according to the comments in glibc'sfeatures.h
)I simplified the handling of
config.h
; instead of having#include "config.h"
in every file, we can use the compiler's-include
option to do that for us I had to bump the meson version requirement to >=1.4.0 to use thefile.full_path()
API.I moved the
-std=c99
flag to the project'sdefault_options
, as it appears to have been fixed (https://github.com/mesonbuild/meson/pull/10170)