polkit-org / polkit

polkit (formerly PolicyKit) is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.
Other
41 stars 22 forks source link

Fix duplicate feature test macros #455

Open notpeelz opened 2 months ago

notpeelz commented 2 months ago

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's features.h)

Depends on #454

notpeelz commented 2 weeks ago

@jrybar-rh Now that all the other PRs are merged, this should be ready for review.