• Niels De Graef's avatar
    Meson: fix preprocessor directives. · d3e8c455
    Niels De Graef authored
    When using `#ifdef` in your code (vs `#if`), the C preprocessor doesn't
    check the value of the macro, only whether it is defined at all.
    
    By using `conf.set10()`, the macros were defined, whether the
    boolean values in the meson build file were false or not. So, to fix
    this, you either have to start using `#if`, or you make sure you use
    `conf.set()` instead.
    
    This fixes the flatpak build of GNOME Contacts (which turns off udev
    support).
    d3e8c455
Name
Last commit
Last update
desktop-docs Loading commit data...
docs/reference/gnome-desktop3 Loading commit data...
libgnome-desktop Loading commit data...
po Loading commit data...
tests Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING-DOCS Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
ChangeLog-20020212 Loading commit data...
ChangeLog.pre-git Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
NEWS Loading commit data...
README Loading commit data...
config.h.meson Loading commit data...
gnome-desktop.doap Loading commit data...
gnome-version.xml.in Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...